Home » HashiCorp » Terraform Associate » Terraform refresh will update the state file?
terraform refresh will update the state file?
A. True
B. False
Correct Answer: A
Explanation/Reference:
Explanation:
The terraform refresh command is used to reconcile the state Terraform knows about (via its state file) with the real-world infrastructure. This can be used to detect any drift from the last-known state, and to update the state file.
This does not modify infrastructure, but does modify the state file. If the state is changed, this may cause changes to occur during the next plan or apply.
Download Printable PDF. VALID exam to help you PASS.
|
|