Community Center | Not monitored
Tag not monitored by Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am deploying a container app environment using OpenTofu. The azurerm provider does not currently have a means to set the Logging Option to a log analytics workspace, so I am attempting to to use the azapi_resource_action resource to PATCH the resource using the below.
resource "azapi_resource_action" "azapi_patch_monitoring_options" {
type = "Microsoft.App/managedEnvironments@2024-03-01"
resource_id = azurerm_container_app_environment.cae.id
method = "PATCH"
body = jsonencode({
properties = {
appLogsConfiguration = {
destination = "log-analytics"
logAnalyticsConfiguration = {
customerId = "
Tag not monitored by Microsoft.