TERRAFORM-ASSOCIATE-003 · 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…
Question
Before you can use a remote backend, you must first execute terra-form init.
Options
- ATrue
- BFalse
How the community answered
(29 responses)- A83% (24)
- B17% (5)
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
Community Discussion
No community discussion yet for this question.