diff --git a/.azure/applications/graphql/main.bicep b/.azure/applications/graphql/main.bicep index ae5eb6e05..fb4edc2d8 100644 --- a/.azure/applications/graphql/main.bicep +++ b/.azure/applications/graphql/main.bicep @@ -87,6 +87,7 @@ module containerApp '../../modules/containerApp/main.bicep' = { apimIp: apimIp tags: tags resources: resources + revisionSuffix: imageTag } } diff --git a/.azure/applications/web-api-eu/main.bicep b/.azure/applications/web-api-eu/main.bicep index 2b6f5d713..5458a454d 100644 --- a/.azure/applications/web-api-eu/main.bicep +++ b/.azure/applications/web-api-eu/main.bicep @@ -90,6 +90,7 @@ module containerApp '../../modules/containerApp/main.bicep' = { apimIp: apimIp tags: tags resources: resources + revisionSuffix: imageTag } } diff --git a/.azure/applications/web-api-so/main.bicep b/.azure/applications/web-api-so/main.bicep index 6e7da75ed..e510fb86a 100644 --- a/.azure/applications/web-api-so/main.bicep +++ b/.azure/applications/web-api-so/main.bicep @@ -94,6 +94,7 @@ module containerApp '../../modules/containerApp/main.bicep' = { apimIp: apimIp tags: tags resources: resources + revisionSuffix: imageTag } } diff --git a/.azure/modules/containerApp/main.bicep b/.azure/modules/containerApp/main.bicep index 58692db12..384f69489 100644 --- a/.azure/modules/containerApp/main.bicep +++ b/.azure/modules/containerApp/main.bicep @@ -25,6 +25,9 @@ param tags object @description('CPU and memory resources for the container app') param resources object? +@description('The suffix for the revision of the container app') +param revisionSuffix string? + var probes = [ { periodSeconds: 5 @@ -75,6 +78,7 @@ resource containerApp 'Microsoft.App/containerApps@2024-03-01' = { } environmentId: containerAppEnvId template: { + revisionSuffix: revisionSuffix scale: { minReplicas: 1 maxReplicas: 1 // temp disable scaling for outbox scheduling