nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #60

You are using a networking module in your Terraform configuration with the name label my- network. In your main configuration you have the following code: When you run terraform validate, you get the

Sign in or unlock TERRAFORM-ASSOCIATE-004 to reveal the answer and full explanation for question #60. The question stem and answer options stay visible for context.

Submitted by akirajp· Apr 18, 2026Work with Terraform Modules

Question

You are using a networking module in your Terraform configuration with the name label my- network. In your main configuration you have the following code: When you run terraform validate, you get the following error: What must you do to successfully retrieve this value from your networking module?

Exhibit

TERRAFORM-ASSOCIATE-004 question #60 exhibit

Options

  • AChange the reference value to my-network,outputs,vmet_id
  • BDefine the attribute vmet_id as a variable in the networking modeule
  • CDefine the attribute vnet_id as an output in the networking module
  • DChange the reference value module.my,network,outputs,vnet_id

Unlock TERRAFORM-ASSOCIATE-004 to see the answer

You've previewed enough free TERRAFORM-ASSOCIATE-004 questions. Unlock TERRAFORM-ASSOCIATE-004 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Terraform Modules#Module Outputs#Module Communication#Error Resolution
Full TERRAFORM-ASSOCIATE-004 Practice