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
Logging onto the azure portal and checking the storage account in question does not have Advanced Threat Protection enabled.
Running az login I am able to auth and access all subscriptions
Reverting the provider back to 1.31.0 has no issue
Panic Output
Expected Behavior
Run a terraform plan with no changes
No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
Actual Behavior
Error: Error refreshing state: 1 error occurred:
* azurerm_storage_account.xxx: 1 error occurred:
* azurerm_storage_account.xxx: azurerm_storage_account.xxx: Error reading the advanced threat protection settings of AzureRM Storage Account "xxx": security.AdvancedThreatProtectionClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="SubscriptionNotFound" Message="The subscription 'xxx' could not be found."
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered:
Hi @katbyte,
I have updated the provider to the hotfix mentioned v1.32.1 and still have the same issue
Error: Error refreshing state: 1 error occurred:
* azurerm_storage_account.xxx: 1 error occurred:
* azurerm_storage_account.xxx: azurerm_storage_account.xxx: Error reading the advanced threat protection settings of AzureRM Storage Account "xxx": security.AdvancedThreatProtectionClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="SubscriptionNotFound" Message="The subscription 'xxx' could not be found."
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 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Aug 29, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
terraform v0.11.14
azurerm v1.32.0
Affected Resource(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output
Advanced Threat Protection
enabled.Panic Output
Expected Behavior
Run a terraform plan with no changes
Actual Behavior
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered: