BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam VA-002-P Topic 5 Question 82 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 82
Topic #: 5
[All VA-002-P Questions]

Anyone can publish and share modules on the Terraform Public Module Registry, and meeting the requirements for publishing a module is extremely easy. Select from the following list all valid requirements. (select three)

Show Suggested Answer Hide Answer
Suggested Answer: A, B, D

The list below contains all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy. The list may appear long only to ensure we're detailed, but adhering to the requirements should happen naturally.

GitHub. The module must be on GitHub and must be a public repo. This is only a requirement for the public registry. If you're using a private registry, you may ignore this requirement.

Named terraform-<PROVIDER>-<NAME>. Module repositories must use this three-part name format, where <NAME> reflects the type of infrastructure the module manages, and <PROVIDER> is the main provider where it creates that infrastructure. The <NAME> segment can contain additional hyphens. Examples: terraform-google-vault or terraform-aws-ec2-instance.

Repository description. The GitHub repository description is used to populate the short description of the module. This should be a simple one-sentence description of the module.

Standard module structure. The module must adhere to the standard module structure. This allows the registry to inspect your module and generate documentation, track resource usage, parse submodules and examples, and more.

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://www.terraform.io/docs/registry/modules/publish.html#requirements


Contribute your Thoughts:

Darci
6 months ago
I believe requirement D is also valid because it mentions the module must be on GitHub and must be a public repo.
upvoted 0 times
...
Trinidad
6 months ago
I agree with you, I also think requirement B is valid because it specifies the naming format for module repositories.
upvoted 0 times
...
Quentin
7 months ago
I think requirement A is valid because it mentions the format for release tag names.
upvoted 0 times
...
Glenn
7 months ago
D) The module must be on GitHub and must be a public repo.
upvoted 0 times
...
Stefan
7 months ago
B) Module repositories must use this three-part name format, terraform--.
upvoted 0 times
Malika
7 months ago
D) The module must be on GitHub and must be a public repo
upvoted 0 times
...
Cortney
7 months ago
B) Module repositories must use this three-part name format, terraform--.
upvoted 0 times
...
Sylvia
7 months ago
A) The registry uses tags to identify module versions. Release tag names must be for the format x.y.z, and can optionally be prefixed with a v.
upvoted 0 times
...
...
Marylin
7 months ago
A) The registry uses tags to identify module versions. Release tag names must be for the format x.y.z, and can optionally be prefixed with a v.
upvoted 0 times
...

Save Cancel