cfx

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

README

cfx

GoDoc

Overview

cfx is a set of tools that I use to work with cloudformation, particularly in a CI environment.

Included currently are three commands: show-parameters, update-parameters, and settle. show-parameters and update-parameters do exactly what they sound like they do. settle will follow the events of a stack until the stack "settles" with a _COMPLETE or _FAILED event. In the event that it settles in a FAILED state, a non-zero exit code will be returned. This makes it suitable for use in a CI environment.

Installation

go get -u fknsrs.biz/p/cfx

Usage

See cfx --help-long for the most up-to-date version of this.

usage: cfx [<flags>] <command> [<args> ...]

Cloudformation Toolkit

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).

Commands:
  help [<command>...]
    Show help.

  show-parameters --stack-name=STACK-NAME
    Show parameters for a stack.

    --stack-name=STACK-NAME  Name of the stack.

  update-parameters --stack-name=STACK-NAME [<flags>]
    Update parameters for a stack.

    --stack-name=STACK-NAME    Name of the stack.
    --capabilities=CAPABILITIES ...
                               Capabilities required to perform changes.
    --parameter=PARAMETER ...  Parameters to change.

  settle --stack-name=STACK-NAME [<flags>]
    Wait for a stack to settle, tailing events.

    --stack-name=STACK-NAME  Name of the stack.
    --timeout=10m            Maximum time to wait until the stack is considered settled.
    --poll-interval=5s       Interval at which to poll AWS for events

License

3-clause BSD. A copy is included with the source.

Documentation

Overview

cfx is a set of tools that I use to work with cloudformation, particularly in a CI environment.

Included currently are three commands: `show-parameters`, `update-parameters`, and `settle`. `show-parameters` and `update-parameters` do exactly what they sound like they do. `settle` will follow the events of a stack until the stack "settles" with a `_COMPLETE` or `_FAILED` event. In the event that it settles in a `FAILED` state, a non-zero exit code will be returned. This makes it suitable for use in a CI environment.

usage: cfx [<flags>] <command> [<args> ...]

Cloudformation Toolkit

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).

Commands:
  help [<command>...]
    Show help.

  show-parameters --stack-name=STACK-NAME
    Show parameters for a stack.

    --stack-name=STACK-NAME  Name of the stack.

  update-parameters --stack-name=STACK-NAME [<flags>]
    Update parameters for a stack.

    --stack-name=STACK-NAME    Name of the stack.
    --capabilities=CAPABILITIES ...
                               Capabilities required to perform changes.
    --parameter=PARAMETER ...  Parameters to change.

  settle --stack-name=STACK-NAME [<flags>]
    Wait for a stack to settle, tailing events.

    --stack-name=STACK-NAME  Name of the stack.
    --timeout=10m            Maximum time to wait until the stack is considered settled.
    --poll-interval=5s       Interval at which to poll AWS for events

License

3-clause BSD. A copy is included with the source.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL