Difference between revisions of "Terraform plan"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
 
* [[Examples: terraform plan]]  
 
* [[Examples: terraform plan]]  
 
* [[Terraform plan execution with errors]]
 
* [[Terraform plan execution with errors]]
 +
 +
== Errors ==
 +
* <code>[[Error: Reference to undeclared input variable]]</code>
 +
  
 
== Related terms ==
 
== Related terms ==
Line 38: Line 42:
 
* <code>[[terragrunt plan]]</code>
 
* <code>[[terragrunt plan]]</code>
 
* <code>[[terraform debug]]</code>
 
* <code>[[terraform debug]]</code>
* <code>[[Error: Reference to undeclared input variable]]</code>
 
 
* <code>[[export TF_LOG=DEBUG]]</code>
 
* <code>[[export TF_LOG=DEBUG]]</code>
 
* [[ReferenceTransformer]]
 
* [[ReferenceTransformer]]

Revision as of 18:26, 8 November 2023

terraform plan (doc) creates an execution plan.

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

Command examples

https://www.terraform.io/cli/commands/plan#planning-options

-refresh=false
-replace=ADDRESS
terraform plan -target=ADDRESS


tf plan 2>&1

Execution examples

Errors


Related terms

See also

Advertising: