Plan Command
Explore how to use the Terraform plan command to generate detailed previews of infrastructure changes without applying them immediately. Learn to save plans to files for review and to separate planning from applying, enabling safer deployment workflows and pipeline automation.
We'll cover the following...
We'll cover the following...
Terraform plan command
Until now, we have been taking advantage of the fact that the command terraform apply does a plan first and pauses for you to confirm by default.
It is, however, possible to get Terraform to do a plan without the option of applying it. To do
this, run the command terraform plan.
A Terraform plan command will produce a plan as we have seen before, but will not give you the option to apply it. Instead, it will simply show you the plan. This ...