Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
updated postgres params in Bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
Physer committed Dec 19, 2024
1 parent e3db261 commit 746a985
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions infrastructure/modules/postgres.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { appendHash } from '../utilities.bicep'

param skuName string = 'Standard_B1ms'
param skuTier string = 'Burstable'
param storage int = 20
@secure()
param sqlPassword string
param databaseName string
Expand All @@ -17,6 +18,18 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2024-08-01' = {
administratorLogin: 'postgresadmin'
administratorLoginPassword: sqlPassword
version: '14'
highAvailability: {
mode: 'Disabled'
}
storage: {
type: 'PremiumV2_LRS'
storageSizeGB: storage
autoGrow: 'Enabled'
}
backup: {
geoRedundantBackup: 'Disabled'
backupRetentionDays: 7
}
}
}

Expand Down

0 comments on commit 746a985

Please sign in to comment.