From which sources can Terraform import modules?

Prepare for the HashiCorp Terraform Associate Exam. Utilize flashcards and multiple-choice questions with detailed hints and explanations. Boost your confidence and be ready for success!

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