Skip to content

Commit 4c4c7bb

Browse files
Update tags to avoid SFI W18 fix violation
1 parent 0786842 commit 4c4c7bb

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

infra/main.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,10 @@ module containerAppEnvironment 'br/public:avm/res/app/managed-environment:0.13.1
11391139
tags: {
11401140
...resourceGroup().tags
11411141
...tags
1142+
TemplateName: 'MACAE'
1143+
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
1144+
CreatedBy: createdBy
1145+
DeploymentName: deployment().name
11421146
}
11431147
enableTelemetry: enableTelemetry
11441148
// WAF aligned configuration for Private Networking

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.43.8.12551",
9-
"templateHash": "16253002153134395573"
9+
"templateHash": "15501943451693952090"
1010
},
1111
"name": "Multi-Agent Custom Automation Engine",
1212
"description": "This module contains the resources required to deploy the [Multi-Agent Custom Automation Engine solution accelerator](https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator) for both Sandbox environments and WAF aligned environments.\r\n\r\n> **Note:** This module is not intended for broad, generic use, as it was designed by the Commercial Solution Areas CTO team, as a Microsoft Solution Accelerator. Feature requests and bug fix requests are welcome if they support the needs of this organization but may not be incorporated if they aim to make this module more generic than what it needs to be for its primary use case. This module will likely be updated to leverage AVM resource modules in the future. This may result in breaking changes in upcoming versions when these features are implemented.\r\n"
@@ -34109,7 +34109,7 @@
3410934109
"value": "[parameters('location')]"
3411034110
},
3411134111
"tags": {
34112-
"value": "[shallowMerge(createArray(resourceGroup().tags, parameters('tags')))]"
34112+
"value": "[shallowMerge(createArray(resourceGroup().tags, parameters('tags'), createObject('TemplateName', 'MACAE', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'), 'DeploymentName', deployment().name)))]"
3411334113
},
3411434114
"enableTelemetry": {
3411534115
"value": "[parameters('enableTelemetry')]"

infra/main_custom.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,10 @@ module containerAppEnvironment 'br/public:avm/res/app/managed-environment:0.13.1
11371137
tags: {
11381138
...resourceGroup().tags
11391139
...tags
1140+
TemplateName: 'MACAE'
1141+
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
1142+
CreatedBy: createdBy
1143+
DeploymentName: deployment().name
11401144
}
11411145
enableTelemetry: enableTelemetry
11421146
// WAF aligned configuration for Private Networking

0 commit comments

Comments
 (0)