website: document detailed exit codes for plan

This commit is contained in:
Ryan Uber 2015-04-01 09:49:36 -07:00
parent 9a091ffa78
commit 4df04e0878
1 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,13 @@ The command-line flags are all optional. The list of available flags are:
* `-destroy` - If set, generates a plan to destroy all the known resources. * `-destroy` - If set, generates a plan to destroy all the known resources.
* `-detailed-exitcode` - Return a detailed exit code when the command exits.
When provided, this argument changes the exit codes and their meanings to
provide more granular information about what the resulting plan contains:
* 0 = Succeeded with empty diff (no changes)
* 1 = Error
* 2 = Succeeded with non-empty diff (changes present)
* `-input=true` - Ask for input for variables if not directly set. * `-input=true` - Ask for input for variables if not directly set.
* `-module-depth=n` - Specifies the depth of modules to show in the output. * `-module-depth=n` - Specifies the depth of modules to show in the output.