@@ -66,31 +66,27 @@ param externalTasksQueueName string
6666@description ('The name of the external blob container in Azure Storage.' )
6767param externalTasksContainerBlobName string
6868
69- @description ('The name of the secret containing the External Azure Storage Access key for the Backend Background Processor Service .' )
69+ @description ('The name of the secret containing the External Azure Storage Access key for the backend processor service .' )
7070param externalStorageKeySecretName string
7171
72- //Send grid
73- @description ('The name of the secret containing the SendGrid API key value for the Backend Background Processor Service .' )
74- param sendGridKeySecretName string
72+ //SendGrid
73+ @description ('The name of the secret containing the SendGrid API key value for the backend processor service .' )
74+ param sendGridKeySecretName string = 'sendgrid-api-key'
7575
76- @description ('The name of the Send Grid Email From.' )
76+ @description ('The name of the SendGrid Email From.' )
7777param sendGridEmailFrom string
7878
79- @description ('The name of the Send Grid Email From Name.' )
79+ @description ('The name of the SendGrid Email From Name.' )
8080param sendGridEmailFromName string
8181
82- // When set to 'true', Parameters 'sendGridKeySecretValue' and 'sendGridEmailFrom' should be provided
83- @description ('Set if integration with SendGrid is enabled .' )
84- param sendGridIntegrationEnabled string
82+ @ secure ()
83+ @description ('The SendGrid API key for the backend processor service. If not provided, SendGrid integration will be disabled .' )
84+ param sendGridKeySecretValue string
8585
8686//Cron Shedule Jon
8787@description ('The cron settings for scheduled job.' )
8888param scheduledJobCron string
8989
90- @secure ()
91- @description ('The SendGrid API key for for Backend Background Processor Service.' )
92- param sendGridKeySecretValue string
93-
9490// Dapr components
9591@description ('The name of Dapr component for the secret store building block.' )
9692// We disable lint of this line as it is not a secret but the name of the Dapr component
@@ -228,7 +224,6 @@ module containerApps 'modules/container-apps.bicep' = {
228224 frontendWebAppServiceImage : frontendWebAppServiceImage
229225 sendGridKeySecretName : sendGridKeySecretName
230226 sendGridKeySecretValue : sendGridKeySecretValue
231- sendGridIntegrationEnabled : sendGridIntegrationEnabled
232227 applicationInsightsName : containerAppsEnvironment .outputs .applicationInsightsName
233228 externalStorageAccountName : externalStorageAccount .outputs .storageAccountName
234229 externalStorageKeySecretName : externalStorageKeySecretName
0 commit comments