-
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
Azure Storage Account Provider produced inconsistent result after apply #18897
Comments
@beameup50 Could you please try out the latest provider as we are no longer maintaining the v2 provider? |
After upgrading to latest provider 3.28.0 I get the following error at the same spot ... trying to create the storage account: azurerm_storage_account.example: Creating... │ Error: retrieving Storage Account: (Name "[StorageAccountName]" / Resource Group "[RGName]"): storage.AccountsClient#GetProperties: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="StorageAccountNotFound" Message="The storage account [StorageAccountName] was not found." |
UPDATE: By manually removing the storage account from the TF state, manually creating a storage account, then importing it into the TF state, I was able to work around this problem. |
@beameup50 Could you please kindly attach the DEBUG log when the issue occurs? This probably relates to #2977, but with a minor difference: In #2977, the storage account is able to create successfully, but the container will fail, after setting up the Though the |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
Greater than 0.13
AzureRM Provider Version
2.86.0
Affected Resource(s)/Data Source(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Storage account should be created
Actual Behaviour
Error
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: