Skip to content

Commit 04475bf

Browse files
fix: set dummy sendgrid key (Azure#78)
1 parent 7baa08d commit 04475bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bicep/modules/container-apps/secrets/processor-backend-service-secrets.bicep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ param backendProcessorServicePrincipalId string
3333

3434
var keyVaultSecretUserRoleGuid = '4633458b-17de-408a-b874-0445c86b69e6'
3535

36+
var sendGridKey = empty(sendGridKeySecretValue) ? 'dummy' : sendGridKeySecretValue
37+
3638
// ------------------
3739
// RESOURCES
3840
// ------------------
@@ -47,7 +49,7 @@ resource sendGridKeySecret 'Microsoft.KeyVault/vaults/secrets@2022-07-01' = {
4749
tags: tags
4850
name: sendGridKeySecretName
4951
properties: {
50-
value: sendGridKeySecretValue
52+
value: sendGridKey
5153
}
5254
}
5355

0 commit comments

Comments
 (0)