Using Terraform CLI, how do you limit planning operation to only resources of a specific module?
Experience Level: Junior
Tags: Terraform
Answer
Run the following command:
terraform plan -target=module
Related Terraform job interview questions
What is a speculative execution plan in Terraform?
Terraform JuniorUsing Terraform CLI, how do you limit planning operation to only specific resource?
Terraform JuniorUsing Terraform CLI, how do you pass variable value when you execute terraform plan command?
Terraform JuniorUsing 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 Junior