Difference between revisions of "Terraform apply"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
* <code>[[terraform apply --help]]</code>
 
* <code>[[terraform apply --help]]</code>
 
* <code>[[terraform apply -auto-approve]]</code>
 
* <code>[[terraform apply -auto-approve]]</code>
* <code>[[terraform apply --auto-approve]]</code>
 
 
* <code>[[terraform apply -refresh-only]]</code>
 
* <code>[[terraform apply -refresh-only]]</code>
 
* <code>terraform apply [[-var]]="[[image_id]]=ami-abc123"</code>
 
* <code>terraform apply [[-var]]="[[image_id]]=ami-abc123"</code>
Line 13: Line 12:
 
* <code>[[terraform apply -destroy]]</code>
 
* <code>[[terraform apply -destroy]]</code>
 
* <code>[[terraform apply -replace]]="aws_instance.example[0]"</code>
 
* <code>[[terraform apply -replace]]="aws_instance.example[0]"</code>
 +
 +
Only apply to specific resources:
 
* <code>[[terraform apply -target]]</code>
 
* <code>[[terraform apply -target]]</code>
 +
[[excluded]] related term
  
 
== Execution examples ==
 
== Execution examples ==
Line 31: Line 33:
 
* [[Deploy EKS cluster using Terraform]]
 
* [[Deploy EKS cluster using Terraform]]
 
* <code>[[terragrunt run-all apply]]</code>
 
* <code>[[terragrunt run-all apply]]</code>
 +
* [[aws instance.your instance name will be updated in-place]]
  
 
== See also ==
 
== See also ==

Latest revision as of 21:07, 22 March 2023

Advertising: