Difference between revisions of "Terraform plan"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
* <code>[[terraform plan -lock=false]]</code>
 
* <code>[[terraform plan -lock=false]]</code>
 
* <code>terraform plan [[-var-file]]="your_file.tfvars"</code>
 
* <code>terraform plan [[-var-file]]="your_file.tfvars"</code>
 +
* <code>[[terraform]] plan -var=XXXX</code>
 
* <code>[[terraform plan --help]]</code>
 
* <code>[[terraform plan --help]]</code>
 
* <code>terraform plan [[-replace]]=XXXX</code>
 
* <code>terraform plan [[-replace]]=XXXX</code>

Revision as of 18:41, 3 June 2022

terraform plan creates an execution plan.

 terraform init -> terraform plan ->  terraform apply -> terraform show

Command examples

Execution examples

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.

Related terms

See also

Advertising: