HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #69
You have to initialize a Terraform backend before it can be configured.
The correct answer is B. False. You can configure a backend in your Terraform code before initializing it. Initializing a backend will store the state file remotely and enable features like locking and workspaces.
Implement and Maintain State
Question
You have to initialize a Terraform backend before it can be configured.
Options
- ATrue
- BFalse
How the community answered
(52 responses)- A17% (9)
- B83% (43)
Explanation
You can configure a backend in your Terraform code before initializing it. Initializing a backend will store the state file remotely and enable features like locking and workspaces.
Topics
#backend configuration#terraform init#backend initialization#workflow order
Community Discussion
No community discussion yet for this question.