nerdexam
HashiCorp

TA-002-P · Question #54

Terraform providers are always installed from the Internet.

The correct answer is B. False. This is false. While Terraform defaults to downloading providers from the public Terraform Registry (registry.terraform.io), there are several alternative sources. Providers can be installed from: a private/mirror registry, a local filesystem directory (using a…

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

Terraform providers are always installed from the Internet.

Options

  • ATrue
  • BFalse

How the community answered

(55 responses)
  • A
    13% (7)
  • B
    87% (48)

Explanation

This is false. While Terraform defaults to downloading providers from the public Terraform Registry (registry.terraform.io), there are several alternative sources. Providers can be installed from: a private/mirror registry, a local filesystem directory (using a filesystem_mirror), a network mirror, or by manually placing provider binaries in the plugin cache directory. This is especially important in air-gapped or highly restricted enterprise environments where direct Internet access is not available.

Topics

#Terraform providers#Provider installation#terraform init#Private registries

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice