skip to Main Content

Terraform Azure subscription create issue

Terraform Version 1.5.1 Terraform Configuration Files required_providers { azurerm = { source = "hashicorp/azurerm" } } } # Configure the Microsoft Azure Provider provider "azurerm" { features {} } data "azurerm_billing_enrollment_account_scope" "example" { billing_account_name = "account holder name" enrollment_account_name =…

VIEW QUESTION

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