include help entry for -replace (#36780) (#37052)

* include help entry for -replace

* add to website docs as well

* Update internal/command/apply.go



* Update website/docs/cli/commands/apply.mdx



---------

Co-authored-by: drewmullen <mullen.drew@gmail.com>
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
pull/37072/head
github-actions[bot] 1 year ago committed by GitHub
parent 76a0be2b9b
commit ce12130ed8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -379,6 +379,9 @@ Options:
-parallelism=n Limit the number of parallel resource operations.
Defaults to 10.
-replace=resource Terraform will plan to replace this resource instance
instead of doing an update or no-op action.
-state=path Path to read and save state (unless state-out
is specified). Defaults to "terraform.tfstate".

@ -86,6 +86,9 @@ The following options change how the apply command executes and reports on the a
[walks the graph](/terraform/internals/graph#walking-the-graph). Defaults to
10\.
- `-replace=resource` - Terraform will plan to replace this resource instance
instead of doing an update or no-op action.
- All [planning modes](/terraform/cli/commands/plan#planning-modes) and
[planning options](/terraform/cli/commands/plan#planning-options) for
`terraform plan` - Customize how Terraform will create the plan. Only available when you run `terraform apply` without a saved plan file.

Loading…
Cancel
Save