From b122ec971ef09a66f119b5370542c51dad153945 Mon Sep 17 00:00:00 2001 From: Are Almaas Date: Wed, 13 Nov 2024 12:51:38 +0100 Subject: [PATCH] fix(azure): ensure postgres configuration run in sequence --- .azure/modules/postgreSql/create.bicep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.azure/modules/postgreSql/create.bicep b/.azure/modules/postgreSql/create.bicep index 01c21459a..a5673519b 100644 --- a/.azure/modules/postgreSql/create.bicep +++ b/.azure/modules/postgreSql/create.bicep @@ -128,6 +128,7 @@ resource pg_qs_query_capture_mode 'Microsoft.DBforPostgreSQL/flexibleServers/con value: 'all' source: 'user-override' } + dependsOn: [track_io_timing] } resource pgms_wait_sampling_query_capture_mode 'Microsoft.DBforPostgreSQL/flexibleServers/configurations@2024-08-01' = if (enableQueryPerformanceInsight) { @@ -137,6 +138,7 @@ resource pgms_wait_sampling_query_capture_mode 'Microsoft.DBforPostgreSQL/flexib value: 'all' source: 'user-override' } + dependsOn: [pg_qs_query_capture_mode] } resource appInsightsWorkspace 'Microsoft.OperationalInsights/workspaces@2023-09-01' existing = { @@ -177,6 +179,7 @@ resource diagnosticSetting 'Microsoft.Insights/diagnosticSettings@2021-05-01-pre } ] } + dependsOn: [pgms_wait_sampling_query_capture_mode] } module adoConnectionString '../keyvault/upsertSecret.bicep' = {