diff --git a/.azure/modules/postgreSql/create.bicep b/.azure/modules/postgreSql/create.bicep index adb125ae..24a9ccc6 100644 --- a/.azure/modules/postgreSql/create.bicep +++ b/.azure/modules/postgreSql/create.bicep @@ -82,7 +82,7 @@ resource configurations 'Microsoft.DBforPostgreSQL/flexibleServers/configuration } } -resource allowAzureAccess 'Microsoft.DBforPostgreSQL/flexibleServers/firewallRules@2023-06-01-preview' = { +resource allowAzureAccess 'Microsoft.DBforPostgreSQL/flexibleServers/firewallRules@2024-08-01' = { name: 'azure-access' parent: postgres dependsOn: [configurations] // Needs to depend on database to avoid updating at the same time