You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: retrieving Storage Account (Subscription: ""
│ Resource Group Name: "<resource_group_name>"
│ Storage Account 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.
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
The text was updated successfully, but these errors were encountered:
I've been facing the same issue here. It took me a while to realize that the problem lies with the new version. Interestingly, this issue doesn't appear in all of my pipelines. Sometimes it works, and sometimes it doesn’t. The strange part is that all of my pipelines use the same YAML files, so they should all behave the same way.
Terraform Version
> terraform version Terraform v1.11.0 on linux_amd64
Terraform Configuration Files
Debug Output
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
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 version1.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
andresource_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
The text was updated successfully, but these errors were encountered: