ExamGecko
Question list
Search
Search

Question 154 - Terraform Associate 003 discussion

Report
Export

Where in your Terraform configuration do you specify a state backend?

A.
The resource block
Answers
A.
The resource block
B.
The data source block
Answers
B.
The data source block
C.
The terraform block
Answers
C.
The terraform block
D.
The provider block
Answers
D.
The provider block
Suggested answer: C

Explanation:

In Terraform, the backend configuration, which includes details about where and how state is stored, is specified within the terraform block of your configuration. This block is the correct place to define the backend type and its configuration parameters, such as the location of the state file for a local backend or the bucket details for a remote backend like S3. Reference = This practice is outlined in Terraform's core documentation, which provides examples and guidelines on how to configure various aspects of Terraform's behavior, including state backends .

asked 18/09/2024
alain giansily
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first