Difference between revisions of "Terraform plan"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
== Command examples ==
 
== Command examples ==
 
* <code>terraform plan [[-out]]=tfplan.out</code>
 
* <code>terraform plan [[-out]]=tfplan.out</code>
 +
* <code>terraform plan [[-out]]=[[tfplan]]</code>
 
* <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>

Revision as of 14:42, 15 February 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: