terraform plan
(Redirected from Plan)
Jump to navigation
Jump to search
terraform plan (doc) creates an execution plan.
terraform init->terraform plan->terraform apply->terraform show
Command examples[edit]
terraform plan --help-no-colorterraform plan -out=tfplan.outterraform plan -out=tfplanterraform plan -lock=falseterraform plan -var-file="your_file.tfvars"terraform plan -var=XXXXterraform plan -replace=XXXXterraform plan -targetterraform plan -refresh-onlyterraform plan -parallelismterraform plan | more -R
https://www.terraform.io/cli/commands/plan#planning-options
-refresh=false -replace=ADDRESS terraform plan -target=ADDRESS
tf plan 2>&1
Execution examples[edit]
Errors[edit]
Error: Reference to undeclared input variableError: repository has uncommitted filesThe security token included in the request is invalid
2024-07-03T13:44:35.311Z [WARN] Provider "registry.terraform.io/datadog/datadog" produced an invalid plan for datadog_user.yourusers["yourusername"], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .send_user_invitation: planned value cty.True for a non-computed ...
Related terms[edit]
- Terraform examples: Terraform: Hello_world.tf
- GitLab Preview of summary of
terraform planin Merge Requests https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/#review-summary-of-terraform-plan-in-merge-requests terraform validate, terraform apply, terraform showaws cloudformation list-change-setsaws cloudformation describe-change-setterragrunt planterraform debugexport TF_LOG=DEBUG- ReferenceTransformer
Plan: 0 to add, 0 to change, 0 to destroy.terraform test- Consider separate credentials for Terraform plan and apply
See also[edit]
Advertising: