ExamGecko
Question list
Search
Search

Question 165 - Terraform Associate 003 discussion

Report
Export

Changing the Terraform backend from the default 'local' backend to a different one after performing your first terrafom apply is:

A.
Optional
Answers
A.
Optional
B.
Impossible
Answers
B.
Impossible
C.
Mandatory
Answers
C.
Mandatory
D.
Discouraged
Answers
D.
Discouraged
Suggested answer: D

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. Reference = This guidance is consistent with Terraform's official documentation, which recommends careful consideration and planning of backend configurations to avoid the need for changes.

asked 18/09/2024
Andy Hodges
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first