TERRAFORM-ASSOCIATE-004 · Question #201
TERRAFORM-ASSOCIATE-004 Question #201: Real Exam Question with Answer & Explanation
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 changes,
Question
Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
Options
- ATrue
- BFalse
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.