terraform
config_error
ai_generated
true
Provider configuration not present
ID: terraform/provider-not-present
90%Fix Rate
88%Confidence
105Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1 | active | — | — | — |
Root Cause
Required provider is not configured in the Terraform configuration.
genericWorkarounds
-
92% success Run terraform init to download and configure providers
Run terraform init to download and configure providers
Sources: https://developer.hashicorp.com/terraform/cli/commands/init
-
88% success Add the required_providers block to your terraform configuration
# Add required_providers block: terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 5.0" } } } # Then reinitialize: terraform initSources: https://developer.hashicorp.com/terraform/language/providers/requirements
Dead Ends
Common approaches that don't work:
-
Manually download the provider binary
72% fail
Terraform manages provider binaries; manual placement is fragile
-
Copy .terraform from another project
78% fail
Provider versions and configs may not match
Error Chain
Leads to:
Preceded by: