From 8cf6decbed79a956fe8dd9a9ad68425d1905f3c7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 07:32:03 +0000 Subject: [PATCH] Update resource Microsoft.DBforPostgreSQL/flexibleServers/administrators to 2022-12-01 --- .azure/modules/postgreSql/AddAdministrationAccess.bicep | 2 +- .azure/modules/postgreSql/create.bicep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/modules/postgreSql/AddAdministrationAccess.bicep b/.azure/modules/postgreSql/AddAdministrationAccess.bicep index 6663d5b3..cf2535a5 100644 --- a/.azure/modules/postgreSql/AddAdministrationAccess.bicep +++ b/.azure/modules/postgreSql/AddAdministrationAccess.bicep @@ -6,7 +6,7 @@ param namePrefix string resource database 'Microsoft.DBforPostgreSQL/flexibleServers@2022-03-08-preview' existing = { name: '${namePrefix}-pgflex' } -resource databaseAccess 'Microsoft.DBforPostgreSQL/flexibleServers/administrators@2022-03-08-preview' = { +resource databaseAccess 'Microsoft.DBforPostgreSQL/flexibleServers/administrators@2022-12-01' = { name: principalId parent: database properties: { diff --git a/.azure/modules/postgreSql/create.bicep b/.azure/modules/postgreSql/create.bicep index 52962184..bea014e5 100644 --- a/.azure/modules/postgreSql/create.bicep +++ b/.azure/modules/postgreSql/create.bicep @@ -103,7 +103,7 @@ module adoConnectionString '../keyvault/upsertSecret.bicep' = { } } -resource databaseAccess 'Microsoft.DBforPostgreSQL/flexibleServers/administrators@2022-03-08-preview' = +resource databaseAccess 'Microsoft.DBforPostgreSQL/flexibleServers/administrators@2022-12-01' = if (environment == 'test') { name: test_client_id parent: postgres