Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
A . terraform destroy, then terraform apply
B . terraform init
C . terraform push
D . terraform apply
Answer: A
Explanation:
This command will initialize the new backend and prompt you to migrate the existing state file to the new location4. The other commands are not relevant for this task.
Latest Terraform Associate 003 Dumps Valid Version with 141 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments