ResourceModules
ResourceModules copied to clipboard
[Feature Request]: Go through all modules to ensure the location parameter is properly configured on all templates with a telemetry deployment
Description
We should make sure the location parameter exists in all templates with a telemetry deployment - with the location being part of the name.
For example
resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) {
name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}'
}
A pester test should be introduced to find those issues. Documentation may also be updated.