-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
Description
Product
Terraform
Issue type
Other issue
Describe your issue to request changes to the content on developer.hashicorp.com. Be specific and provide as much detail as possible. Include page URLs and screenshots if applicable.
Bug is related to Implement a provider with the Terraform Plugin Framework website. I followed every instruction before problematic one to the letter.
Where is the problem
When I run terraform plan as indicated here I receive following error:
│ Error: Inconsistent dependency lock file
│
│ The following dependency selections recorded in the lock file are inconsistent with the current configuration:
│ - provider hashicorp.com/edu/hashicups: required by this configuration but no version is selected
│
│ To make the initial dependency selections that will initialize the dependency lock file, run:
│ terraform init
╵I did what the information said and after invoking terraform init I received following error:
- Finding latest version of hashicorp.com/edu/hashicups...
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp.com/edu/hashicups: could not connect to
│ hashicorp.com: failed to request discovery document: 429 Too Many Requests
│
│ To see which modules are currently depending on hashicorp.com/edu/hashicups and what versions are specified, run the following
│ command:
│ terraform providers
which looks like that the terraform does not respect the change that I have done in .terraformrc file (contents of it below) saved under home directory (~). So I guess either way the tutorial page is outdated or some steps are not mentioned.
provider_installation {
dev_overrides {
"hashicorp.com/edu/hashicups" = "/home/doc/go/bin"
}
# For all other providers, install them directly from their origin provider
# registries as normal. If you omit this, Terraform will _only_ use
# the dev_overrides block, and so no other providers will be available.
direct {}
}My system specs
os:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammyterraform version:
Terraform v1.14.3
on linux_amd64Golang version:
go version go1.25.5 linux/amd64Reactions are currently unavailable