@@ -54,6 +54,9 @@ param sendGridKeySecretName string
5454@description ('The SendGrid API key for for Backend Background Processor Service.' )
5555param sendGridKeySecretValue string
5656
57+ @description ('Set if integration with SendGrid is enabled.' )
58+ param sendGridIntegrationEnabled string
59+
5760@description ('The name of the secret containing the External Azure Storage Access key for the Backend Background Processor Service.' )
5861param externalStorageKeySecretName string
5962
@@ -77,8 +80,21 @@ param frontendWebAppServiceImage string
7780@description ('The name of the application insights.' )
7881param applicationInsightsName string
7982
80- var containerRegistryPullRoleGuid ='7f951dda-4ed3-4680-a7ca-43fe172d538d'
83+ // App Ports
84+ @description ('The target and dapr port for the frontend web app service.' )
85+ param frontendWebAppPortNumber int
86+
87+ @description ('The target and dapr port for the backend api service.' )
88+ param backendApiPortNumber int
89+
90+ @description ('The dapr port for the backend processor service.' )
91+ param backendProcessorPortNumber int
8192
93+ // ------------------
94+ // VARIABLES
95+ // ------------------
96+
97+ var containerRegistryPullRoleGuid ='7f951dda-4ed3-4680-a7ca-43fe172d538d'
8298
8399// ------------------
84100// RESOURCES
@@ -124,6 +140,7 @@ module frontendWebAppService 'container-apps/webapp-frontend-service.bicep' = {
124140 containerRegistryUserAssignedIdentityId : containerRegistryUserAssignedIdentity .id
125141 frontendWebAppServiceImage : frontendWebAppServiceImage
126142 appInsightsInstrumentationKey : applicationInsights .properties .InstrumentationKey
143+ frontendWebAppPortNumber : frontendWebAppPortNumber
127144
128145 }
129146}
@@ -144,6 +161,7 @@ module backendApiService 'container-apps/webapi-backend-service.bicep' = {
144161 cosmosDbDatabaseName : cosmosDbDatabaseName
145162 cosmosDbCollectionName : cosmosDbCollectionName
146163 appInsightsInstrumentationKey : applicationInsights .properties .InstrumentationKey
164+ backendApiPortNumber : backendApiPortNumber
147165 }
148166}
149167
@@ -162,10 +180,12 @@ module backendProcessorService 'container-apps/processor-backend-service.bicep'
162180 containerRegistryUserAssignedIdentityId : containerRegistryUserAssignedIdentity .id
163181 sendGridKeySecretName : sendGridKeySecretName
164182 sendGridKeySecretValue : sendGridKeySecretValue
183+ sendGridIntegrationEnabled :sendGridIntegrationEnabled
165184 externalStorageAccountName : externalStorageAccountName
166185 externalStorageKeySecretName :externalStorageKeySecretName
167186 backendProcessorServiceImage : backendProcessorServiceImage
168187 appInsightsInstrumentationKey : applicationInsights .properties .InstrumentationKey
188+ backendProcessorPortNumber : backendProcessorPortNumber
169189 }
170190}
171191
0 commit comments