From 328390b37ae8db620663ee0472b791e6cec6b721 Mon Sep 17 00:00:00 2001 From: Dominique Broeglin Date: Fri, 5 Apr 2024 22:58:37 +0200 Subject: [PATCH] Changing Postgresql resource API version --- infra/core/database/postgresql/flexibleserver.bicep | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infra/core/database/postgresql/flexibleserver.bicep b/infra/core/database/postgresql/flexibleserver.bicep index 31a4afd..3321e54 100644 --- a/infra/core/database/postgresql/flexibleserver.bicep +++ b/infra/core/database/postgresql/flexibleserver.bicep @@ -17,8 +17,7 @@ param azureExtensions array = [] // PostgreSQL version param version string -// Latest official version 2022-12-01 does not have Bicep types available -resource postgresServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = { +resource postgresServer 'Microsoft.DBforPostgreSQL/flexibleServers@2023-03-01-preview' = { location: location tags: tags name: name @@ -74,7 +73,7 @@ resource configurations 'Microsoft.DBforPostgreSQL/flexibleServers/configuration value: join(azureExtensions, ',') source: 'user-override' } -dependsOn: [ + dependsOn: [ firewall_all ] }