Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 202 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 202
Topic #: 1
[All Terraform Associate Questions]

How would you be able to reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

  • A. data.dc.id
  • B. data.vsphere_datacenter.dc
  • C. vsphere_datacenter.dc.id
  • D. data.vsphere_datacenter.dc.id
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
resnef
Highly Voted 1 year, 10 months ago
data.<TYPE>.<NAME>.<ATTRIBUTE>
upvoted 10 times
...
090200f
Most Recent 3 months, 3 weeks ago
Selected Answer: D
data.<TYPE>.<NAME>.<ATTRIBUTE> option D is correct
upvoted 1 times
...
mamoon_malta2022
1 year, 8 months ago
D: data "azurerm_resource_group" "example" { name = "existing" } output "id" { value = data.azurerm_resource_group.example.id }
upvoted 3 times
...
InformationOverload
1 year, 10 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
ArizonaClassics
1 year, 10 months ago
I will go for D
upvoted 2 times
...
nakikoo
1 year, 10 months ago
yea correct, D, provider.resourcetype.name.id
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...