Open nirengithub opened 1 year ago
@nirengithub Is this systematic happening? Since the error occurs when reacing to the queue data plane API, it might be due to some service side issue. Alternatively, you can try setting storage_use_azuread = true
.
This is happening to me as well, intermittently (not every time) on plans and applies. Continues to happen with the above provider setting @magodo recommends. I my case it's post creation phase, the queues exist, and intermittent when interrogating metadata surrounding the queues. During the plan/apply run we communicate to the storage account privately through its private endpoint.
Error: retrieving Queue "xxx" (Account "xxx-queue"): queues.Client#GetMetaData: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailure" Message="This request is not authorized to perform this operation.\nRequestId:7b9f3ff5-b003-0081-0f37-fed107000000\nTime:2023-10-14T00:42:11.0594659Z"
Downgrading to 3.97.1
didn't help.
│ Error: retrieving queue properties for Storage Account (Subscription: "xxx" │ Resource Group Name: "xxx" │ Storage Account Name: "openaistdev"): unmarshalling response: could not parse response body │ │ with module.storage_account.azurerm_storage_account.storage_account, │ on ../../modules/storage_account/main.tf line 13, in resource "azurerm_storage_account" "storage_account": │ 13: resource "azurerm_storage_account" "storage_account" {
Same error with private Storage Account
Same issue- using v3.115.0 using self-hosted agents (traffic is okay) tried a myiad of things.
[ERROR] provider.terraform-provider-azurerm_v3.115.0_x5: GET https://MASKED.queue.core.windows.net/?comp=properties&restype=service request failed: Get "https://MASKED.queue.core.windows.net/?comp=properties&restype=service": net/http: TLS handshake timeout: timestamp=2024-08-23
Also stuck on this issue with queues, storage_use_azuread does not help
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.39.1
Affected Resource(s)/Data Source(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should create the storage account and the file system, it does create the store account only with no filesystem but the message shows error creating storage account.
Actual Behaviour
it creates the store account only with no filesystem and the message shows error creating storage account.
Steps to Reproduce
terraform apply
Important Factoids
NA
References
https://github.com/hashicorp/terraform-provider-azurerm/pull/4099 https://github.com/hashicorp/terraform-provider-azurerm/pull/16557 https://github.com/hashicorp/terraform-provider-azurerm/issues/4081