TA-002-P · Question #254
Your team uses terraform OSS . You have created a number of resuable modules for important , independent network components that you want to share with your team to enhance consistency . What is the…
The correct answer is B. Upload your modules with proper versioning in the terraform public module registry. Software development encourages code reuse through reusable artifacts, such as libraries, packages and modules. Most programming languages enable developers to package and publish these reusable components and make them available on a registry or feed. For example, Python has…
Question
Your team uses terraform OSS . You have created a number of resuable modules for important , independent network components that you want to share with your team to enhance consistency . What is the correct option/way to do that?
Options
- ATerraform modules cannot be shared in OSS version . Each developer needs to maintain
- BUpload your modules with proper versioning in the terraform public module registry .
- CTerraform module sharing is only available in Enterprise version via terraform private
- DStore your modules in a NAS/ shared file server , and ask your team members to directly
How the community answered
(30 responses)- B93% (28)
- C3% (1)
- D3% (1)
Explanation
Software development encourages code reuse through reusable artifacts, such as libraries, packages and modules. Most programming languages enable developers to package and publish these reusable components and make them available on a registry or feed. For example, Python has Python Package Index and PowerShell has PowerShell Gallery. For Terraform users, the Terraform Registry enables the distribution of Terraform modules, which are reusable configurations. The Terraform Registry acts as a centralized repository for module sharing, making modules easier to discover and reuse. The Registry is available in two variants: * Public Registry houses official Terraform providers --which are services that interact with an API to expose and manage a specific resource --and community-contributed modules. * Private Registry is available as part of the Terraform Cloud, and can host modules internally within an organization.
Topics
Community Discussion
No community discussion yet for this question.