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 333 discussion

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

A module block is shown in the Exhibit space of this page.



When you use a module block to reference a module from the Terraform Registry such as the one in the example, how do you specify version 1.0.0 of the module?

  • A. You cannot. Modules stored on the public Terraform Registry do not support versioning.
  • B. Add a version = “1.0.0” attribute to the module block.
  • C. Nothing. Modules stored on the public Terraform module Registry always default to version 1.0.0.
  • D. Append ?ref=v1.0.0 argument to the source path.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
d00b229
2 months, 2 weeks ago
B. Add a version = “1.0.0” attribute to the module block.
upvoted 1 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 ...