HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #158
Before you can use a remote backend, you must first execute terra-form init.
The correct answer is A. True. Before using a remote backend in Terraform, it is mandatory to run terraform init. This command initializes a Terraform working directory, which includes configuring the backend. If a remote backend is specified, terraform init will set up the working directory to use it…
Submitted by yuki_2020· Apr 18, 2026Use Terraform CLI
Question
Before you can use a remote backend, you must first execute terra-form init.
Options
- ATrue
- BFalse
How the community answered
(32 responses)- A94% (30)
- B6% (2)
Explanation
Before using a remote backend in Terraform, it is mandatory to run terraform init. This command initializes a Terraform working directory, which includes configuring the backend. If a remote backend is specified, terraform init will set up the working directory to use it, including copying any existing state to the remote backend if necessary.
Topics
#terraform init#remote backend#backend configuration#initialization
Community Discussion
No community discussion yet for this question.