Difference between revisions of "Terraform apply -replace"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
[[terraform apply]] -replace="aws_instance.example[0]"
+
* <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>
 
* <code>[[terraform state rm]]</code>

Latest revision as of 06:27, 25 April 2023

Advertising: