HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 25 Topic 3 Discussion

HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 25 Topic 3 Discussion

Terraform-Associate-003 Exam Topic 3 Question 25 Discussion:
Question #: 25
Topic #: 3

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:

Terraform-Associate-003 Question 25

When you run terraform validate, you get the following error:

Terraform-Associate-003 Question 25

What must you do to successfully retrieve this value from your networking module?


A.

Change the reference value to my-network,outputs,vmet_id


B.

Define the attribute vmet_id as a variable in the networking modeule


C.

Define the attribute vnet_id as an output in the networking module


D.

Change the reference value module.my,network,outputs,vnet_id


Get Premium Terraform-Associate-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.