nerdexam
HashiCorp

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…

Submitted by eva_at· Apr 18, 2026Manage Terraform State

Question

Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.

Options

  • ATrue
  • BFalse

How the community answered

(66 responses)
  • A
    94% (62)
  • B
    6% (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

#terraform init#backends#state management#HCP Terraform

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice