Pamela Fox commited on
Commit
f194cdb
·
1 Parent(s): f24be86

Update todo

Browse files
Files changed (2) hide show
  1. azure.yaml +5 -0
  2. infra/main.bicep +1 -1
azure.yaml CHANGED
@@ -15,3 +15,8 @@ hooks:
15
  run: ./scripts/setup_postgres_azurerole.sh
16
  interactive: true
17
  continueOnError: false
 
 
 
 
 
 
15
  run: ./scripts/setup_postgres_azurerole.sh
16
  interactive: true
17
  continueOnError: false
18
+ windows:
19
+ shell: pwsh
20
+ run: .\scripts\setup_postgres_azurerole.ps1
21
+ interactive: true
22
+ continueOnError: false
infra/main.bicep CHANGED
@@ -90,7 +90,7 @@ module web 'core/host/appservice.bicep' = {
90
  appSettings: {
91
  ADMIN_URL: 'admin${uniqueString(appServicePlan.outputs.id)}'
92
  DBENGINE: 'django.db.backends.postgresql'
93
- DBHOST: '${postgresServerName}.postgres.database.azure.com' // todo replace with ouput
94
  DBNAME: postgresDatabaseName
95
  DBUSER: webAppName
96
  DBSSL: 'require'
 
90
  appSettings: {
91
  ADMIN_URL: 'admin${uniqueString(appServicePlan.outputs.id)}'
92
  DBENGINE: 'django.db.backends.postgresql'
93
+ DBHOST: postgresServer.outputs.POSTGRES_DOMAIN_NAME
94
  DBNAME: postgresDatabaseName
95
  DBUSER: webAppName
96
  DBSSL: 'require'