terraform-associate question 344 discussion

View all HashiCorp Certified: Terraform Associate Exam here
back to hashicorp forum

Question 344

You have to initialize a Terraform backend before it can be configured.

  • A. True
  • B. False
Answer:

A


User Votes:
A
50%
B 1 votes
50%
Discussions
0 / 1000
nassimaelferkhsi
1 month, 3 weeks ago

You do not need to initialize a Terraform backend before configuring it. Instead, the process works the other way around:

You define the backend configuration in your Terraform code (usually in a .tf file).
Then, when you run terraform init, Terraform initializes the backend based on the configuration you provided.
For example, you might configure a

nassimaelferkhsi
1 month, 2 weeks ago