CmdID

CmdID / Commands

terraform-plan

Generate and show Terraform execution plans. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate and show the execution plan in the current directory

terraform planIdentify

Show a plan to destroy all remote objects that currently exist

terraform plan -destroyIdentify

Show a plan to update the Terraform state and output values

terraform plan -refresh-onlyIdentify

Specify values for input variables

terraform plan -var 'name1=value1' -var 'name2=value2'Identify

Focus Terraform's attention on only a subset of resources

terraform plan -target resource_type.resource_name[instance_index]Identify

Output a plan as JSON

terraform plan -jsonIdentify

Write a plan to a specific file

terraform plan -no-color >path/to/fileIdentify