Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 304


What kind of configuration block will create an infrastructure object with settings specified within the block?

Show Answer
Correct Answer: D

The configuration block that creates an infrastructure object with settings specified within the block is the 'resource' block. It defines what resources to create and their configurations, making them an essential part of infrastructure-as-code tools such as Terraform.

Discussion

2 comments
Sign in to comment
Ramdi1Option: D
Nov 25, 2023

resource block is used to provision the resource

090200f
Aug 5, 2024

A resource block declares that you want a particular infrastructure object to exist with the given settings https://developer.hashicorp.com/terraform/language/resources/behavior