Tweaks
This commit is contained in:
parent
410e45673d
commit
2a530639f8
|
@ -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]"
|
$ 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
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue