Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 231


From which of these sources can Terraform import modules?

Show Answer
Correct Answer: D

Terraform can import modules from a variety of sources. These include local paths where you can reference a module stored in a local directory, GitHub repositories where you can specify the URL of the repository, and the Terraform Module Registry which allows importing modules from both public and private registries. This flexibility in module sourcing facilitates reuse and sharing of modules in different projects and environments.

Discussion

4 comments
Sign in to comment
Ravi528Option: D
Mar 29, 2023

D is correct, all of the above

tbhtpOption: D
Apr 1, 2023

D. All of the above Terraform can import modules from a variety of sources, including: A. Local path: You can reference a local directory containing your module's Terraform files. B. GitHub Repository: You can reference a GitHub repository, specifying the repository URL. C. Terraform Module Registry: You can import modules directly from the public Terraform Registry or from private module registries in Terraform Cloud or Terraform Enterprise. These options make it easy to reuse and share modules across different projects and teams.

Oleg_golOption: D
May 6, 2023

D- https://developer.hashicorp.com/terraform/language/modules/sources

090200fOption: D
Jul 31, 2024

we can import from A,B, and C