Skip to content

Commit

Permalink
Changing Postgresql resource API version
Browse files Browse the repository at this point in the history
  • Loading branch information
dbroeglin committed Apr 5, 2024
1 parent b99f3c9 commit 328390b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infra/core/database/postgresql/flexibleserver.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -74,7 +73,7 @@ resource configurations 'Microsoft.DBforPostgreSQL/flexibleServers/configuration
value: join(azureExtensions, ',')
source: 'user-override'
}
dependsOn: [
dependsOn: [
firewall_all
]
}
Expand Down

0 comments on commit 328390b

Please # to comment.