diff --git a/.azure/applications/migration/main.bicep b/.azure/applications/migration/main.bicep index 04d31752..9647a012 100644 --- a/.azure/applications/migration/main.bicep +++ b/.azure/applications/migration/main.bicep @@ -70,7 +70,7 @@ var volumeMounts = [ } ] -resource containerAppEnv 'Microsoft.App/managedEnvironments@2023-11-02-preview' existing = { +resource containerAppEnv 'Microsoft.App/managedEnvironments@2024-03-01' existing = { name: containerAppEnvName } diff --git a/.azure/modules/containerAppEnvironment/main.bicep b/.azure/modules/containerAppEnvironment/main.bicep index a365b68f..462b597b 100644 --- a/.azure/modules/containerAppEnvironment/main.bicep +++ b/.azure/modules/containerAppEnvironment/main.bicep @@ -27,7 +27,7 @@ resource application_insights 'Microsoft.Insights/components@2020-02-02' = { WorkspaceResourceId: log_analytics_workspace.id } } -resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2023-11-02-preview' = { +resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' = { name: '${namePrefix}-env' location: location properties: {