Azure / terraform-azurerm-caf-enterprise-scale

Azure landing zones Terraform module
https://aka.ms/alz/tf
MIT License
857 stars 568 forks source link

Data collection rule are missing from module outputs #1171

Open eehret opened 2 weeks ago

eehret commented 2 weeks ago

Community Note

Versions

terraform: 1.8.5

azure provider: 3.113.0

module: 6.1.0

Description

Describe the bug

The new Data Collection Rule resources (DCRs) that were added as part of the transition to Azure Monitor are missing from the module outputs, in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/main/outputs.tf

This makes bridging the role assignment gaps (due to the previously discussed issue here: https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues/439) more difficult since I cannot easily target just the DCR for the role assignment scope. I'll have to work around this issue in the meantime by instead doing the role assignment on the Management resource group scope.

Steps to Reproduce

n/a

Screenshots

Additional context

eehret commented 1 week ago

UPDATE: I just noticed that the same seems to be true for the user-assigned managed identity that is created for Azure Monitor Agent