Command terraform r...
 
Notifications
Clear all

Command terraform refresh will update state file?

1 Posts
1 Users
0 Likes
88 Views
 Coy
(@millotcoy)
Posts: 688
Noble Member
Topic starter
 

Command terraform refresh will update state file?

  • A . False
    B. True

Show Answer Hide Answer

Suggested Answer: B

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. https://www.terraform.io/docs/commands/refresh.html
 
Posted : 03/11/2022 2:32 pm

Latest TA-002-P V1 Dumps Valid Version

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