Difference between revisions of "Terraform apply -replace"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[terraform apply]] -replace="[[aws_instance]].example[0]"</code> | + | * <code>[[terraform apply]] -replace="[[aws_instance]].example"</code> |
+ | * <code>[[terraform apply]] -replace="[[aws_instance]].example[0]"</code> | ||
+ | == Examples == | ||
+ | terraform apply tf.out | ||
+ | |||
+ | [[Apply complete!]] Resources: 0 added, 0 changed, 0 destroyed. | ||
== Related == | == Related == | ||
+ | * <code>[[terraform plan -replace]]</code> | ||
* <code>[[terraform taint (deprecated)]]</code> | * <code>[[terraform taint (deprecated)]]</code> | ||
* <code>[[terraform show]] | grep #</code> | * <code>[[terraform show]] | grep #</code> | ||
Line 11: | Line 17: | ||
== See also == | == See also == | ||
* {{terraform apply}} | * {{terraform apply}} | ||
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 06:27, 25 April 2023
terraform apply -replace="aws_instance.example"
terraform apply -replace="aws_instance.example[0]"
Examples[edit]
terraform apply tf.out Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
Related[edit]
terraform plan -replace
terraform taint (deprecated)
terraform show | grep #
TF_LOG
terraform state rm
See also[edit]
Advertising: