Difference between revisions of "Terraform taint (deprecated)"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == See also == * {{terraform cmd}} * {{terraform}} Category:Terraform") |
|||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | <code>terraform taint</code> (deprecated since [[Terraform changelog|Terraform v0.15.2]]) informs Terraform that a particular object has become degraded or damaged. | ||
+ | * https://www.terraform.io/cli/commands/taint | ||
+ | |||
+ | === Alternative === | ||
+ | For Terraform v0.15.2 and later | ||
+ | |||
+ | [[terraform apply -replace]]="aws_instance.example[0]" | ||
+ | |||
+ | == Related == | ||
+ | * [[Terraform deprecated commands]] | ||
+ | * <code>[[terraform apply -replace]]</code> | ||
+ | * <code>[[terraform untaint]]</code> | ||
+ | * <code>[[terraform taint]]</code> | ||
+ | * <code>[[terraform destroy]]</code> | ||
== See also == | == See also == | ||
* {{terraform cmd}} | * {{terraform cmd}} | ||
− | |||
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 06:11, 25 April 2023
terraform taint
(deprecated since Terraform v0.15.2) informs Terraform that a particular object has become degraded or damaged.
Alternative[edit]
For Terraform v0.15.2 and later
terraform apply -replace="aws_instance.example[0]"
Related[edit]
- Terraform deprecated commands
terraform apply -replace
terraform untaint
terraform taint
terraform destroy
See also[edit]
terraform
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]
Advertising: