terraform-plan
Verified for current stable LTS
Terraform Plan Command: Specify Input Variable Values
Use for specify input variable values with Terraform Plan. Exact CLI syntax to specify input variable values using Terraform Plan.
When to use this: Use for specify input variable values with Terraform Plan.
Command Syntax
terraform plan -var '<name1>=<value1>' -var '<name2>=<value2>' terraform plan -var '<name1>=<value1>' -var '<name2>=<value2>' Command Breakdown
-var- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to specify input variable values using Terraform Plan.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Terraform Plan Command: Focus On Specific Resources
terraform plan -target <resource_type.resource_name[instance_index]> Terraform Plan Command: Generate Execution Plan Current Directory terraform plan Terraform Plan Command: Output Plan As Json terraform plan -json Terraform Plan Command: Show Plan Destroy All Objects terraform plan -destroy Terraform Plan Command: Show Plan Refresh Only terraform plan -refresh-only