Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 868 Bytes

terracanary_output.md

File metadata and controls

38 lines (25 loc) · 868 Bytes

terracanary output

Retrieve terraform outputs from specified stack

Synopsis

Outputs a newline-separated list of terraform output values for the specified stack.

For example:

terracanary output -s main:5 deployed_task_arn log_group

Is equivalent to:

(
	cd main
	terraform init -backend-config=key=<STATE_FILE_PATH>-main-5 ...
	terraform output deployed_task_arn
	terraform output log_group
)
terracanary output (-s <stack>:<version> | -S <stack>) [<flags>...] <output-name>...

Options

  -h, --help                   help for output
  -S, --stack string           Name of unversioned stack to operate on
  -s, --stack-version string   Stack version to operate on as <stack>:<version>

SEE ALSO

  • terracanary - Deployment orchestration using terraform
Auto generated by spf13/cobra on 12-Apr-2018