Using Terraform CLI, how do you review what changes will be done to your target infrastructure based on the configuration?
Experience Level: Junior
Tags: Terraform
Answer
Run the following command:
terraform plan
Related Terraform job interview questions
Using Terraform CLI, how do you store a plan to a path so that you would then be able to use it as input to the apply command?
Terraform JuniorUsing Terraform CLI, how do you get a plan to destroy all objects currently managed by the Terraform configuration?
Terraform JuniorUsing Terraform CLI, how do you validate configurration and get any errors in structured JSON format?
Terraform JuniorWill 'terraform validate' raise error when you use both tabs and spaces in Terraform configuration?
Terraform JuniorWhat does 'terraform validate' command to in Terraform CLI?
Terraform Junior