HashiCorp
TA-002-P · Question #425
What does terraform refresh modify?
The correct answer is B. Your state file. The terraform refresh command reads the current settings from all managed remote objects and updates the Terraform state to match.
Implement and maintain state
Question
What does terraform refresh modify?
Options
- AYour cloud infrastructure
- BYour state file
- CYour Terraform plan
- DYour Terraform configuration
How the community answered
(61 responses)- A7% (4)
- B87% (53)
- C3% (2)
- D3% (2)
Explanation
The terraform refresh command reads the current settings from all managed remote objects and updates the Terraform state to match.
Topics
#Terraform CLI#terraform refresh#State file#State management
Community Discussion
No community discussion yet for this question.