TA-002-P · Question #314
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 requireme
The correct answer is C. The registry uses tags to identify module versions. D. Release tag names must be for the format x.y.z, and can optionally be prefixed with a v . E. The module must be on GitHub and must be a public repo.. To publish a module to the Terraform Public Module Registry, it must be hosted on a public GitHub repository, follow specific naming conventions, and use semantic versioning with tags.
Question
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)
Options
- AThe module must be PCI/HIPPA compliant.
- BModule repositories must use this three-part name format, terraform--.
- CThe registry uses tags to identify module versions.
- DRelease tag names must be for the format x.y.z, and can optionally be prefixed with a v .
- EThe module must be on GitHub and must be a public repo.
How the community answered
(56 responses)- A2% (1)
- B7% (4)
- C91% (51)
Why each option
To publish a module to the Terraform Public Module Registry, it must be hosted on a public GitHub repository, follow specific naming conventions, and use semantic versioning with tags.
PCI/HIPAA compliance is a security and regulatory concern for the resources provisioned, not a direct requirement for publishing a module to the public registry.
The description `terraform--` for the module repository naming format is too generic; the precise format required is `terraform-<PROVIDER>-<NAME>`.
The Terraform Public Module Registry utilizes Git tags within the repository to identify and manage different versions of published modules.
Release tag names for modules in the registry must adhere to semantic versioning, using the `x.y.z` format, which can optionally be prefixed with a 'v'.
Modules intended for the Terraform Public Module Registry are required to be hosted in a public GitHub repository for discoverability and accessibility.
Concept tested: Terraform Public Module Registry requirements
Source: https://developer.hashicorp.com/terraform/registry/modules/publish
Topics
Community Discussion
No community discussion yet for this question.