Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.27 KB

terracanary_test.md

File metadata and controls

33 lines (23 loc) · 1.27 KB

terracanary test

Check if there are any changes to a stack

Synopsis

Uses "terraform plan" to check if any changes are needed for the specified stack. To get accurate results, be sure to include the exact arguments you would specify to "terracanary apply" (e.g. input stacks).

Exit Codes: 0 - Success; plan succeeded with no changes 15 - Plan succeeded, but had changes * - Plan failed due to terraform or other errors

terracanary test (-s <stack>:<version> | -S <stack>) [<flags>...] [-- <terraform-args>...]

Options

  -h, --help                              help for test
  -u, --ignore-update stringArray         ignore updates to named resource
  -I, --input-stack stringArray           Name of unversioned stack to provide state from as input; may repeat for multiple input stacks
  -i, --input-stack-version stringArray   Stack version (as <stack>:<version>[:<alias>]) to provide state from as input; may repeat for multiple input stacks
  -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