Plan with an input variable value
Runs a plan with the given value for the input variable, overriding its default and any .tfvars file.
terraform plan -var 'name=value'Edit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/terraform-plan.md), licensed under CC BY 4.0.