Skip to content

Commit 2af13b3

Browse files
committed
fix: Avoid internal security remediation for deployed test env
1 parent c6bf128 commit 2af13b3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cicd/bicep/app.bicep

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,13 @@ resource embedding 'Microsoft.CognitiveServices/accounts/deployments@2024-06-01-
799799
resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
800800
name: prefix
801801
location: location
802-
tags: tags
802+
tags: shallowMerge([
803+
tags
804+
// Ignoring "Secure PaaS Resources" (see: https://eng.ms/docs/cloud-ai-platform/azure-core/azure-networking/sdn-dbansal/azure-virtual-network-manager/nsp-dataplane-library/articles/ns22tsg/ns22tsgoverview)
805+
{
806+
SecurityControl: 'Ignore'
807+
}
808+
])
803809
kind: 'GlobalDocumentDB'
804810
properties: {
805811
consistencyPolicy: {

0 commit comments

Comments
 (0)