This commit is contained in:
Laura Pacilio 2021-12-20 16:01:03 -05:00
parent 410e45673d
commit 2a530639f8
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ For Terraform v0.15.2 and later, we recommend using the [`-replace` option](/cli
$ terraform apply -replace="aws_instance.example[0]"
```
The `-replace` option is superior because it lets you understand the full effect of replacing the object before you take any externally-visible action. When you use `terraform taint`, other users could create a new plan against your tainted object before you can review the consequences of that change.
We recommend the `-replace` option because the change will be reflected in the Terraform plan, letting you understand how it will affect your infrastructure before you take any externally-visible action. When you use `terraform taint`, other users could create a new plan against your tainted object before you can review the effects.
## Usage