Difference between revisions of "Error: Failed to query available provider packages"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
  ╷
 
  ╷
  │ Error: Failed to query available [[provider]] packages
+
  │ [[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
+
  │ [[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
 
  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
+
  [[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:
+
  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 (command)|terraform providers]]
 
   [[terraform providers (command)|terraform providers]]
 +
 +
Solution: review your [[providers.tf]] configuration
  
 
== Related ==
 
== Related ==
* [[Initializing provider plugins...]]
+
* <code>[[Initializing provider plugins...]]</code>
* [[terraform providers (command)]]
+
* <code>[[terraform providers (command)]]</code>
  
 
== See also ==
 
== See also ==
 
* {{terraform init}}
 
* {{terraform init}}
* {{Terraform providers}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 07:19, 12 February 2024

╷
│ 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[edit]

See also[edit]

Advertising: