From which sources can Terraform import modules?

Prepare for the HashiCorp Terraform Associate Exam with quizzes, flashcards, and multiple-choice questions. Each question includes hints and explanations. Boost your confidence and ace your exam!

Multiple Choice

From which sources can Terraform import modules?

Explanation:
Terraform lets you bring in modules from several places by specifying the source in a module block. You can point to a module on disk with a local path, pull a module from a Git repository (including GitHub) using a git URL, or fetch a module from the Terraform Module Registry using its registry path. Since all of these sources are supported, choosing all of the above is the best answer. Local paths are handy for in-house modules, Git repositories provide versioned modules stored in a VCS, and the Registry gives access to a wide ecosystem of published modules.

Terraform lets you bring in modules from several places by specifying the source in a module block. You can point to a module on disk with a local path, pull a module from a Git repository (including GitHub) using a git URL, or fetch a module from the Terraform Module Registry using its registry path. Since all of these sources are supported, choosing all of the above is the best answer. Local paths are handy for in-house modules, Git repositories provide versioned modules stored in a VCS, and the Registry gives access to a wide ecosystem of published modules.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy