Azure / Azure/bicep-registry-modules
[AVM Module Issue]: AKS deployment Prometheus not fully ena
- Dominant language
- Bicep
- Stars
- 736
- Forks
- 564
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 30
Description
### Check for previous/existing GitHub issues
- [x] I have checked for previous/existing GitHub issues
### Issue Type?
Bug
### Module Name
avm/res/container-service/managed-cluster
### (Optional) Module Version
0.8.0
### Description
## Issue Summary
When deploying the AKS cluster, Prometheus is enabled by default. However, upon accessing the Azure portal, I encounter the following error message:
> You do not have access to the associated data collection rule to view the Azure Monitor workspace or the data collection rule has been deleted. Reconfigure

## Steps to Reproduce:
Deploy AKS with bicep parameters I use to deploy monitoring for the aks cluster:
enableContainerInsights: true
enableAzureMonitorProfileMetrics: true
metricLabelsAllowlist: 'nodes=[*], pods=[*]'
Am I missing something in my configuration? I cannot find any data collection rule that should be created.
### (Optional) Correlation Id
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.