terraform refresh c...
 
Notifications
Clear all

terraform refresh command will not modify infrastructure, but does modify the state file.

1 Posts
1 Users
0 Likes
321 Views
(@ozolinsezequiel)
Noble Member
Joined: 2 years ago
Posts: 701
Topic starter  

terraform refresh command will not modify infrastructure, but does modify the state file.

  • A . True
  • B . False

Show Answer Hide Answer

Suggested Answer: A

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.

https://www.terraform.io/docs/commands/refresh.html

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: