ExamGecko
Question list
Search
Search

Question 166 - Terraform Associate 003 discussion

Report
Export

Which type of block fetches or computes information for use elsewhere in a Terraform configuration?

A.
data
Answers
A.
data
B.
local
Answers
B.
local
C.
resource
Answers
C.
resource
D.
provider
Answers
D.
provider
Suggested answer: A

Explanation:

In Terraform, a data block is used to fetch or compute information from external sources for use elsewhere in the Terraform configuration. Unlike resource blocks that manage infrastructure, data blocks gather information without directly managing any resources. This can include querying for data from cloud providers, external APIs, or other Terraform states. Reference = This definition and usage of data blocks are covered in Terraform's official documentation, highlighting their role in fetching external information to inform Terraform configurations.

asked 18/09/2024
Jialu Wang
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first