Courses / Terraform
3. Terraform Plan Command
Learn how to use the 'terraform plan' command to preview changes before applying them.
1 min read Chapter 3 of 16
HCL
Terraform Plan Command
The `terraform plan` command shows what changes will be made to your infrastructure before applying them.
"I want to avoid surprises when I deploy changes to production."
The `terraform plan` command generates an execution plan, allowing you to see what actions Terraform will take to reach the desired state defined in your configuration files.
"I want to avoid surprises when I deploy changes to production."
The `terraform plan` command generates an execution plan, allowing you to see what actions Terraform will take to reach the desired state defined in your configuration files.