TA-002-P · Question #291
True or False? terraform init cannot automatically download Community providers.
The correct answer is B. True. The statement is True - terraform init cannot automatically download Community providers because they require an explicit source address declared in the required_providers block.
Question
True or False? terraform init cannot automatically download Community providers.
Options
- AFalse
- BTrue
How the community answered
(40 responses)- A10% (4)
- B90% (36)
Why each option
The statement is True - terraform init cannot automatically download Community providers because they require an explicit source address declared in the required_providers block.
It is not false - terraform init genuinely cannot automatically download community providers without an explicit source declaration, unlike official HashiCorp providers which follow a well-known default namespace.
Community providers do not reside in the default HashiCorp namespace and cannot be auto-discovered by terraform init from provider usage alone. They must be explicitly declared with a full source address (e.g., registry.terraform.io/community-namespace/provider) in the required_providers block before terraform init can locate and download them.
Concept tested: Terraform community provider source addressing and auto-download limitations
Source: https://developer.hashicorp.com/terraform/language/providers/requirements
Topics
Community Discussion
No community discussion yet for this question.