Difference between revisions of "Terraform apply -replace"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* <code>[[terraform apply]] -replace="[[aws_instance]].example[0]"</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 12: | 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: