-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reading queue properties for AzureRM Storage Account #3997
Comments
This script doesn't work with every single provider version 1.28 and up on an MS internal account or a pay as you go account. provider "azurerm" { |
It works for me with Azurerm provider 1.31 and crashes with azurerm provider version >=1.32 |
hi @mattbowes Thanks for opening this issue. So that we can take a look into this would it be possible to know which authentication method you're using? Thanks! |
Same issue at me using azure cli authentication. |
I am running this in the Azure Cloud Shell. Terraform authenticates automatically |
I have the same issue using Bash in Azure Cloud Shell. This is the error message returned in my case
Just to confirm, I can get is to work if I declare the older version
|
Experienced the same behavior. Client is Ubuntu WSL. Authentication is via Azure CLI. Downgrading to azurerm provider v1.31.0 resolved the issue. |
+1 same issue here (internal MS subscription) while following https://azurecitadel.com/automation/terraform/lab1/ Pinning to 1.31 solves the issue `provider "azurerm" { resource "azurerm_resource_group" "lab1" { tags = { resource "azurerm_storage_account" "lab1sa" { |
Bump. Is this getting resolved? Seems like a pretty fundamental regression gap. |
This has been released in version 1.33.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.33.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.6
Affected Resource(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Terraform should successfully plan
Actual Behavior
During a terraform plan using provider version v1.32.1 or v1.32.0 the following error is thrown
Error: Error reading queue properties for AzureRM Storage Account "removed": azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://removed.queue.core.windows.net?comp=properties&restype=service: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":{"code":"invalid_request","message":"No token found for audience https://storage.azure.com/"}}
Steps to Reproduce
terraform plan
Important Factoids
If i downgrade the provider to v1.31.0 everything works as normal. If i upgrade to v1.32.0 or v1.32.1 then the error occurs
References
The text was updated successfully, but these errors were encountered: