We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5953bca commit e0f98e0Copy full SHA for e0f98e0
1 file changed
content-gen/infra/main.bicep
@@ -275,13 +275,15 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
275
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
276
name: 'default'
277
properties: {
278
- tags: {
279
- ...resourceGroup().tags
280
- ... tags
281
- TemplateName: 'ContentGen'
282
- Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
283
- CreatedBy: createdBy
284
- }
+ tags: union(
+ resourceGroup().tags ?? {},
+ tags,
+ {
+ TemplateName: 'ContentGen'
+ Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
+ CreatedBy: createdBy
285
+ }
286
+ )
287
}
288
289
0 commit comments