TERRAFORM-ASSOCIATE-003 · Question #63
Select the command that doesn't cause Terraform to refresh its state.
The correct answer is D. Terraform state list. This is the command that does not cause Terraform to refresh its state, as it only lists the resources that are currently managed by Terraform in the state file. The other commands will refresh the state file before performing their operations, unless you use the -refresh=false…
Question
Select the command that doesn't cause Terraform to refresh its state.
Options
- ATerraform destroy
- BTerraform apply
- CTerraform plan
- DTerraform state list
How the community answered
(55 responses)- A4% (2)
- B7% (4)
- C11% (6)
- D78% (43)
Explanation
This is the command that does not cause Terraform to refresh its state, as it only lists the resources that are currently managed by Terraform in the state file. The other commands will refresh the state file before performing their operations, unless you use the -refresh=false flag.
Topics
Community Discussion
No community discussion yet for this question.