TERRAFORM-ASSOCIATE-004 · Question #152
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
The correct answer is D. Discouraged. Changing the Terraform backend after performing the initial terraform apply is technically possible but strongly discouraged. This is because changing backends can lead to complexities in state management, requiring manual intervention such as state migration to ensure…
Question
Options
- AOptional
- BImpossible
- CMandatory
- DDiscouraged
How the community answered
(33 responses)- A3% (1)
- C6% (2)
- D91% (30)
Explanation
Changing the Terraform backend after performing the initial terraform apply is technically possible but strongly discouraged. This is because changing backends can lead to complexities in state management, requiring manual intervention such as state migration to ensure consistency. Terraform's documentation and best practices advise planning the backend configuration carefully before applying Terraform configurations to avoid such changes.
Topics
Community Discussion
No community discussion yet for this question.