Error: Failed to query available provider packages

From wikieduonline
Jump to navigation Jump to search
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/aws: no available releases match the given constraints >= 2.55.0, ~> 3.4.0, >= 3.63.0, >= 4.0.0, >= 4.9.0, >= 4.12.0
│ 
╵
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions
│ for provider hashicorp/aws: locked provider
│ registry.terraform.io/hashicorp/aws 5.7.0 does not
│ match configured version constraint >= 2.23.0, >=
│ 3.72.0, >= 4.47.0, >= 4.57.0, ~> 5.7.0, >= 5.20.0;
│ must use terraform init -upgrade to allow
│ selection of new versions


Error: Failed to query available provider packages

hashicorp/datadog: provider registry registry.terraform.io does not have a provider named registry.terraform.io/hashicorp/datadog

Did you intend to use datadog/datadog? If so, you must specify that source address in each module which requires that provider. To see which modules are currently depending on hashicorp/datadog, run the following command:
 terraform providers

Solution: review your providers.tf configuration

Related

See also

Advertising: