Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 184


Open source Terraform can only import publicly-accessible and open-source modules.

Show Answer
Correct Answer: B

Open source Terraform can import modules from both public and private repositories. It supports importing modules from sources such as the Terraform Registry, GitHub, GitLab, and Bitbucket, among others. Therefore, it is not restricted to only publicly-accessible and open-source modules.

Discussion

8 comments
Sign in to comment
Uma10Option: B
Sep 2, 2022

Terraform can load modules from a public or private registry. This makes it possible to publish modules for others to use, and to use modules that others have published. Also, members of your organization might produce modules specifically crafted for your own infrastructure needs. Terraform Cloud and Terraform Enterprise both include a private module registry for sharing modules internally within your organization. Source: https://www.terraform.io/language/modules

duffyduckOption: B
Sep 12, 2022

Published Modules In addition to modules from the local filesystem, Terraform can load modules from a public or private registry. This makes it possible to publish modules for others to use, and to use modules that others have published. The Terraform Registry hosts a broad collection of publicly available Terraform modules for configuring many kinds of common infrastructure. These modules are free to use, and Terraform can download them automatically if you specify the appropriate source and version in a module call block. Also, members of your organization might produce modules specifically crafted for your own infrastructure needs. Terraform Cloud and Terraform Enterprise both include a private module registry for sharing modules internally within your organization. Answer is B

wanrltwOption: A
Dec 11, 2022

It's A! Don't confuse Terraform Open Source with Cloud/Enterprise. https://developer.hashicorp.com/terraform/intro/terraform-editions https://www.hashicorp.com/resources/why-consider-terraform-enterprise-over-open-source

robertninho
Jan 3, 2023

module "suvpc" { source = "git::https://user:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4232233131352d302602252b362a37206c212d2f">[email protected]</a>/example/vpc.git" }

princajenOption: B
Feb 16, 2023

B. False. Open source Terraform can import both publicly-accessible and private modules from various sources, including Terraform Registry, GitHub, GitLab, Bitbucket, and others. However, the support for private modules is limited in the open source version, while it's fully supported in Terraform Enterprise.

waldonutsOption: B
Sep 13, 2022

Private repo for custom modules.

pyro7Option: B
Feb 17, 2023

The Correct answer is B

JhaggarOption: B
May 14, 2023

False as it can be from anywhere

TafMukoOption: A
Jul 16, 2023

https://www.hashicorp.com/resources/why-consider-terraform-enterprise-over-open-source