What does running a terraform plan do?
What does running a terraform plan do?
Running a terraform plan compares the current state file to your Terraform configuration code and determines if any changes need to be made. It generates an execution plan that shows what actions Terraform will take to reach the desired state defined in the configuration files, indicating which resources will be created, modified, or destroyed.
it compares your current state (the existing resources) with your desired state (the configuration file) and generates a plan of action to achieve it. The plan shows you which resources will be created, modified, or destroyed