TERRAFORM-ASSOCIATE-004 · Question #201
Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
The correct answer is A. True. The terraform init command is required before using a new backend or integrating with HCP Terraform/Terraform Cloud. terraform init initializes the working directory and sets up the backend, downloading necessary provider plugins and modules. If the backend configuration…
Question
Options
- ATrue
- BFalse
How the community answered
(66 responses)- A94% (62)
- B6% (4)
Explanation
The terraform init command is required before using a new backend or integrating with HCP Terraform/Terraform Cloud. terraform init initializes the working directory and sets up the backend, downloading necessary provider plugins and modules. If the backend configuration changes, Terraform will require re-initialization to apply those changes. Without running terraform init, Terraform will fail to use a new backend or remote Terraform Cloud workspace.
Topics
Community Discussion
No community discussion yet for this question.