ResourceModules icon indicating copy to clipboard operation
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

Open AlexanderSehr opened this issue 1 year ago • 1 comments

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)}'
}

AlexanderSehr avatar Jul 20 '22 16:07 AlexanderSehr

A pester test should be introduced to find those issues. Documentation may also be updated.

rahalan avatar Aug 16 '22 16:08 rahalan