During which Terraform phase are providers installed?

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

During which Terraform phase are providers installed?

Explanation:
Providers are Terraform plugins that must be downloaded and prepared before Terraform can do anything with them. This happens during the initialization phase: running terraform init makes Terraform read your configuration, resolve the provider requirements, download the correct provider binaries, and initialize them so they’re ready for use. After that, plan uses the already-installed providers to compute changes, and refresh updates the state by querying real resources—neither of those steps installs providers. So the initialization phase is the moment providers are installed.

Providers are Terraform plugins that must be downloaded and prepared before Terraform can do anything with them. This happens during the initialization phase: running terraform init makes Terraform read your configuration, resolve the provider requirements, download the correct provider binaries, and initialize them so they’re ready for use. After that, plan uses the already-installed providers to compute changes, and refresh updates the state by querying real resources—neither of those steps installs providers. So the initialization phase is the moment providers are installed.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy