This particular issue boils down to Go's cross-platform DNS client that messes up Terraform's DNS lookups ( Terraform is built using Golang) when looking up provider plugins for you, especially when using a VPN. This one I'll explain more in detail below - in case that's what you're running into (& provided the above two points are satisfied). Faulty Golang DNS resolution on UNIX platforms. Not specifying provider sources in your required_providers block AND modules - if you're on a 0.13+ release (also watching out for typos in your provider declarations).ģ). Skipping major terraform versions without following the upgrade guides. There are primarily 3 possible reasons for this error:ġ). This issue primarily affects those running Terraform on a MacOS/Linux/Unix platform.NOTE: If you're on Terraform 1.0.1+and running into this, please refresh your DNS settings or point to a popular public DNS server like 8.8.8.8.You're on a Terraform 0.13.0 - 1.0.0 release. Hashicorp/google: could not connect to : Failed to Performing a terraform run and seeing an error like this: Error: Failed to query available provider packagesĬould not retrieve the list of available versions for provider hashicorp/helm:Ĭould not connect to : Failed to request discoveryĮrror: Failed to query available provider packagesĬould not retrieve the list of available versions for provider
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |