Difference between revisions of "Terraform apply -replace"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | * <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>[[TF_LOG]]</code> | * <code>[[TF_LOG]]</code> | ||
+ | * <code>[[terraform state rm]]</code> | ||
== See also == | == See also == |
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: