Deal of The Day! 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 80 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 80
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:

Yuki
4 days ago
Alright, so I think the valid requirements here are A, B, and D. C is just too much. Unless we're building a module for the NSA, PCI/HIPAA compliance is not necessary.
upvoted 0 times
...
Sonia
5 days ago
Hah, good point, Gianna. Maybe they should just say 'a public version control repository' instead of forcing GitHub. Although, let's be real, who doesn't use GitHub these days? *rolls eyes*
upvoted 0 times
...
Gianna
6 days ago
You got that right, Leana. I feel like they're just trying to trip us up sometimes. But hey, at least it keeps us on our toes!
upvoted 0 times
...
Leana
7 days ago
Agreed. Time to submit our answers and hope we get this one right. Though, I have to say, these Terraform certification exams sure do love their trick questions, don't they?
upvoted 0 times
...

Save Cancel