include help entry for -replace (#36780)

* include help entry for -replace

* add to website docs as well

* Update internal/command/apply.go

Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>

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

Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>

---------

Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
pull/37054/head
drewmullen 9 months ago committed by GitHub
parent 0c78b5ee9e
commit 09cff2be39
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