Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 69


What is the name assigned by Terraform to reference this resource?

Show Answer
Correct Answer: B

The name assigned by Terraform to reference the resource is 'main'. In Terraform configuration, the name assigned to the resource is specified after the resource type. In this case, 'main' is the name assigned to the resource of type 'google_compute_instance' and can be used to reference this specific resource within the Terraform code.

Discussion

6 comments
Sign in to comment
EltoothOption: B
Dec 28, 2022

B is correct answer : main See Topic 1 #Question49 for similar question.

Ahmad_Terraform
Dec 29, 2022

Main is the name of the resources

zecchOption: B
Sep 8, 2023

answer is B. Main is the name of resource block.

Power123
Oct 1, 2023

Main . B is correct

IK912
Dec 18, 2023

B is correct

TigerInTheCloud
Jun 19, 2024

invalid terraform config :-)