Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
84 stars 27 forks source link

[Microsoft.OperationalInsights/workspaces]: Warning BCP187 on system assigned identity #1885

Open peereflits opened 1 year ago

peereflits commented 1 year ago

Resource Type

Microsoft.OperationalInsights/workspaces

Api Version

2020-08-01

Issue Type

Other

Other Notes

Creating a logAnalyticsWorkspace in bicep with a system assigned identity issues a Warning BCP187, while specified in documentation @ https://learn.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/workspaces?pivots=deployment-language-bicep

Bicep Repro

resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' = {
  name: 'MyLogAnalyticsWorkspace'
  location: resourceGroupLocation
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    sku: {
      name: 'pergb2018'
    }
  }
}

Confirm

microsoft-github-policy-service[bot] commented 8 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzmonLogA. Please see https://aka.ms/biceptypesinfo for troubleshooting help.