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

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

How do you specify a module's version when publishing it to the public Terraform Module Registry?

  • A. The module's configuration page on the Terraform Module Registry
  • B. Terraform Module Registry does not support versioning modules
  • C. The release tags in the associated repo
  • D. The module's Terraform code
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Burakko
Highly Voted 2 years, 2 months ago
Selected Answer: C
The registry uses tags to identify module versions. Release tag names must be a semantic version, which can optionally be prefixed with a v . For example, v1. 0.4 and 0.9.
upvoted 10 times
...
Tyler2023
Most Recent 1 year ago
answer is C: Once a module is published, you can release a new version of a module by simply pushing a properly formed Git tag. x.y.z tags for releases. The registry uses tags to identify module versions. Release tag names must be a semantic version, which can optionally be prefixed with a v. For example, v1.0.4 and 0.9.2. To publish a module initially, at least one release tag must be present. Tags that don't look like version numbers are ignored. https://developer.hashicorp.com/terraform/registry/modules/publish
upvoted 3 times
...
Ni33
1 year, 6 months ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
SilentMilli
1 year, 8 months ago
Selected Answer: C
C. The release tags in the associated repo. When publishing a module to the Terraform Module Registry, the module version is typically specified using Git tags in the associated Git repository. Terraform retrieves the module from the registry using the provider's source argument, which includes the module's owner, name, and version. By specifying the version in the source argument of your module, Terraform will download that specific version of the module from the registry.
upvoted 1 times
...
Pinky0289
2 years, 2 months ago
A module's version is specified using the release tag names. So, the right answer is C.
upvoted 2 times
...
keiffo2
2 years, 2 months ago
x.y.z tags for releases. The registry uses tags to identify module versions. Release tag names must be a semantic version, which can optionally be prefixed with a v. For example, v1.0.4 and 0.9.2. To publish a module initially, at least one release tag must be present. Tags that don't look like version numbers are ignored. ANSWER C
upvoted 3 times
...
dinesh198728
2 years, 2 months ago
Selected Answer: C
https://www.terraform.io/registry/modules/publish
upvoted 4 times
...
bora4motion
2 years, 2 months ago
Selected Answer: C
C makes sense to me
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 ...