If you delete a rem...
 
Notifications
Clear all

If you delete a remote backend from the configuration, will you need to rebuild your state files locally?

1 Posts
1 Users
0 Likes
70 Views
(@palomamikel)
Posts: 733
Noble Member
Topic starter
 

If you delete a remote backend from the configuration, will you need to rebuild your state files locally?

  • A . False
    B. True

Show Answer Hide Answer

Suggested Answer: A

Explanation:

You can change your backend configuration at any time. You can change both the configuration itself as well as the type of backend (for example from "consul" to "s3").

Terraform will automatically detect any changes in your configuration and request a reinitialization. As part of the reinitialization process, Terraform will ask if you'd like to migrate your existing state to the new configuration. This allows you to easily switch from one backend to another.

https://www.terraform.io/docs/backends/config.html#changing-configuration
 
Posted : 06/11/2022 11:00 pm

Latest TA-002-P V1 Dumps Valid Version

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