skip to Main Content

How to fix 400 Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Category 'StorageRead' is not supported

I'm trying to enable all activity logs for a Storage Account in Azure. Here's the code code block, which seems to be causing errors. resource "azurerm_monitor_diagnostic_setting" "storage_account_logs" { name = "storage-account-logs" target_resource_id = azurerm_storage_account.example.id storage_account_id = azurerm_storage_account.example.id enabled_log { category…

VIEW QUESTION
Back To Top
Search