Document saved plan use in `terraform apply -help` (#6126)
Wording borrowed from the website docs.
This commit is contained in:
parent
3a2c40d027
commit
b44f7f28e0
|
@ -276,11 +276,16 @@ func (c *ApplyCommand) Synopsis() string {
|
|||
|
||||
func (c *ApplyCommand) helpApply() string {
|
||||
helpText := `
|
||||
Usage: terraform apply [options] [DIR]
|
||||
Usage: terraform apply [options] [DIR-OR-PLAN]
|
||||
|
||||
Builds or changes infrastructure according to Terraform configuration
|
||||
files in DIR.
|
||||
|
||||
By default, apply scans the current directory for the configuration
|
||||
and applies the changes appropriately. However, a path to another
|
||||
configuration or an execution plan can be provided. Execution plans can be
|
||||
used to only execute a pre-determined set of actions.
|
||||
|
||||
DIR can also be a SOURCE as given to the "init" command. In this case,
|
||||
apply behaves as though "init" was called followed by "apply". This only
|
||||
works for sources that aren't files, and only if the current working
|
||||
|
|
Loading…
Reference in New Issue