Loading...
Loading...
### Terraform Version ```shell > terraform version Terraform v1.11.0 on linux_amd64 ``` ### Terraform Configuration Files ```terraform terraform { required_version = "~> 1.9" backend "azurerm" {} required_providers { azurerm = { source = "hashicorp/azurerm" version = "~> 4.10" } } } provider "azurerm" { subscription_id = var.subscription_id features {} } ``` ### Debug Output ``` │ Error: retrieving Storage Account (Subscription: "" │ Resource Group Name: "" │ Storage Account Name: ""): unexpected status 400 (400 Bad Request) with error: InvalidSubscriptionId: The provided subscription identifier 'resourceGroups' is malformed or invalid. ``` ### Expected Behavior The plan should have been completed successfully ### Actual Behavior │ Error: retrieving Storage Account (Subscription: "" │ Resource Group Name: "rg-azbnl-we1-nonprod-shared-terraform" │ Storage Account Name: "satfstatenonprod86167"): unexpected status 400 (400 Bad Request) with error: InvalidSubscriptionId: The provided subscription identifier 'resourceGroups' is malformed or invalid. ### Steps to Reproduce 1. `terraform -chdir=src init -backend-config=vars/backend-config-nonprod-we1.tfvars -backend-config=vars/project-backend-variables.tfvars` ### Additional Context Prior to updating to Terraform version `1.11.0`, I was using version `1.10.5`. Running the same steps was working without any problems, as soon as I change to the newer version, I get the error above. The backend configuration hasn't changed, all fields, including `subscription_id` and `resource_group_name` are the same, they're correct and exist. I see in the release notes reference to `.netrc`, but I don't think this applies in this case. ### 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.