Plan with Terraform

Go through the terraform plan and terraform show commands and view their outputs.

Terraform states are very useful when running Terraform in practice.

The terraform plan and terraform show commands

To look at the terraform plan and terraform show commands, wecreate a new directory named ltthw_plan and a hello_plan.tf file in it that will manage a local file. We have executed terraform init already. Now, instead of executing terraform apply, we’ll run the terraform plan command in the following code snippet.

Get hands-on with 1200+ tech skills courses.