Loading...
Loading...
### Terraform Version ```shell terraform version: 1.8.5 ``` ### Terraform Configuration Files provider_config.tf ``` terraform { required_providers { aws = { source = "hashicorp/aws" version = "=5.54.1" } azurerm = { source = "hashicorp/azurerm" version = "=3.108.0" } openstack = { source = "terraform-provider-openstack/openstack" version = "=1.54.1" } vsphere = { source = "vmware/vsphere" version = "2.8.1" } } } ``` provider_aws.tf ``` # Configure the AWS Provider provider "aws" { region = "us-west-2" shared_credentials_files = ["~/.aws/credentials"] } ``` provider_azure.tf ``` provider "azurerm" { features { virtual_machine { delete_os_disk_on_deletion = true } } subscription_id = "*********" client_id = "__azure_client_id__" client_secret = "__azure_client_secret__" tenant_id = "__azure_tenant_id__" } ``` provider_vmware.tf ``` provider "vsphere" { version = "2.8.1" vim_keep_alive = 30 user = "__vsphere_user__" password = "__vsphere_password__" vsphere_server = "********" # if you have a self-signed cert allow_unverified_ssl = false api_timeout = 10 } provider "vsphere" { version = "2.8.1" vim_keep_alive = 30 user = "__vsphere_user_or1__" password = "__vsphere_password_or1__" vsphere_server = "*********" alias = "vmware_or1" # if you have a self-signed cert allow_unverified_ssl = false api_timeout = 10 } ``` provider_openstack.tf ``` provider "openstack" { user_name = "__openstack_user__" password = "__openstack_password__" tenant_name = "Project" user_domain_name = "domain" project_domain_name = "name" auth_url = "https://**********:5000/v3" region = "region" } ``` ### Debug Output ``` 06:40:53 Initializing provider plugins... 06:40:53 - Finding latest version of hashicorp/template... 06:40:58 - Finding hashicorp/azurerm versions matching "3.108.0"... 06:41:03 - Finding terraform-provider-openstack/openstack versions matching "1.54.1"... 06:41:04 - Finding vmware/vsphere versions matching "2.8.1"... 06:41:04 - Finding hashicorp/aws versions matching "5.54.1"... 06:42:25 - Installing terraform-provider-openstack/openstack v1.54.1... 06:42:41 - Installed terraform-provider-openstack/openstack v1.54.1 (self-signed, key ID 4F80527A391BEFD2) 06:42:47 - Installing vmware/vsphere v2.8.1... 06:42:49 - Installed vmware/vsphere v2.8.1 (signed by a HashiCorp partner, key ID ED13BE650293896B) 06:43:10 06:43:10 Partner and community providers are signed by their developers. 06:43:10 If you'd like to know more about provider signing, you can read about it here: 06:43:10 https://www.terraform.io/docs/cli/plugins/signing.html 06:43:10 ╷ 06:43:10 │ Warning: Version constraints inside provider configuration blocks are deprecated 06:43:10 │ 06:43:10 │ on provider_vmware.tf line 2, in provider "vsphere": 06:43:10 │ 2: version = "2.8.1" 06:43:10 │ 06:43:10 │ Terraform 0.13 and earlier allowed provider version constraints inside the 06:43:10 │ provider configuration block, but that is now deprecated and will be 06:43:10 │ removed in a future version of Terraform. To silence this warning, move the 06:43:10 │ provider version constraint into the required_providers block. 06:43:10 │ 06:43:10 │ (and 3 more similar warnings elsewhere) 06:43:10 ╵ 06:43:10 06:43:10 ╷ 06:43:10 │ Error: Failed to install provider 06:43:10 │ 06:43:10 │ Error while installing hashicorp/template v2.2.0: could not query provider 06:43:10 │ regis**** for regis****.terraform.io/hashicorp/template: failed to retrieve 06:43:10 │ authentication checksums for provider: the request failed after 2 attempts, 06:43:10 │ please **** again later: Get 06:43:10 │ "https://releases.hashicorp.com/terraform-provider-template/2.2.0/terraform-provider-template_2.2.0_SHA256SUMS": 06:43:10 │ net/http: request canceled while waiting for connection (Client.Timeout 06:43:10 │ exceeded while awaiting headers) 06:43:10 ╵ 06:43:10 06:43:10 ╷ 06:43:10 │ Error: Failed to install provider 06:43:10 │ 06:43:10 │ Error while installing hashicorp/azurerm v3.108.0: could not query provider 06:43:10 │ regis**** for regis****.terraform.io/hashicorp/azurerm: failed to retrieve 06:43:10 │ authentication checksums for provider: the request failed after 2 attempts, 06:43:10 │ please **** again later: Get 06:43:10 │ "https://releases.hashicorp.com/terraform-provider-azurerm/3.108.0/terraform-provider-azurerm_3.108.0_SHA256SUMS": 06:43:10 │ net/http: request canceled while waiting for connection (Client.Timeout 06:43:10 │ exceeded while awaiting headers) 06:43:10 ╵ 06:43:10 06:43:10 ╷ 06:43:10 │ Error: Failed to install provider 06:43:10 │ 06:43:10 │ Error while installing hashicorp/aws v5.54.1: could not query provider 06:43:10 │ regis**** for regis****.terraform.io/hashicorp/aws: the request failed after 06:43:10 │ 2 attempts, please **** again later: Get 06:43:10 │ "https://regis****.terraform.io/v1/providers/hashicorp/aws/5.54.1/download/linux/amd64": 06:43:10 │ net/http: request canceled while waiting for connection (Client.Timeout 06:43:10 │ exceeded while awaiting headers) 06:43:10 ╵ 06:43:10 06:43:10 -----------------------------Applying Terraform------------------------------------- 06:43:10 destroy instance value is True 06:43:10 ╷ 06:43:10 │ Warning: Version constraints inside provider configuration blocks are deprecated 06:43:10 │ 06:43:10 │ on provider_vmware.tf line 2, in provider "vsphere": 06:43:10 │ 2: version = "2.8.1" 06:43:10 │ 06:43:10 │ Terraform 0.13 and earlier allowed provider version constraints inside the 06:43:10 │ provider configuration block, but that is now deprecated and will be 06:43:10 │ removed in a future version of Terraform. To silence this warning, move the 06:43:10 │ provider version constraint into the required_providers block. 06:43:10 │ 06:43:10 │ (and one more similar warning elsewhere) 06:43:10 ╵ 06:43:10 ╷ 06:43:10 │ Error: Inconsistent dependency lock file 06:43:10 │ 06:43:10 │ The following dependency selections recorded in the lock file are 06:43:10 │ inconsistent with the current configuration: 06:43:10 │ - provider regis****.terraform.io/hashicorp/aws: required by this configuration but no version is selected 06:43:10 │ - provider regis****.terraform.io/hashicorp/azurerm: required by this configuration but no version is selected 06:43:10 │ - provider regis****.terraform.io/hashicorp/template: required by this configuration but no version is selected 06:43:10 │ - provider regis****.terraform.io/terraform-provider-openstack/openstack: required by this configuration but no version is selected 06:43:10 │ - provider regis****.terraform.io/vmware/vsphere: required by this configuration but no version is selected 06:43:10 │ 06:43:10 │ To make the initial dependency selections that will initialize the 06:43:10 │ dependency lock file, run: 06:43:10 │ terraform init 06:43:10 ╵ ``` ### Expected Behavior It was working till 20th June 2025 since many years ### Actual Behavior Everytime I execute Jenkins job, it fails to install some provider. But not failing for particular provider ### Steps to Reproduce `terraform init` ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.