Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ param deployPrivateNetworking bool = false
@description('Marketplace API base URL the core platform connects to (separate deployment)')
param marketplaceUrl string = 'https://marketplace.agentbase.dev/api/v1'

@description('Azure region for PostgreSQL Flexible Server. Defaults to location but can be overridden per-environment when the subscription lacks quota in the primary region.')
param postgresLocation string = location

// ----------------------------------------------------------------------------
// Variables — naming & tags
// ----------------------------------------------------------------------------
Expand Down Expand Up @@ -151,7 +154,7 @@ module postgres 'modules/postgres-flexible.bicep' = {
name: 'postgres'
params: {
name: postgresName
location: location
location: postgresLocation
tags: tags
administratorPassword: postgresAdminPassword
allowPublicAccess: !deployPrivateNetworking
Expand Down
1 change: 1 addition & 0 deletions infra/main.parameters.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"project": { "value": "agentbase" },
"owner": { "value": "platform-team" },
"appServicePlanSku": { "value": "B2" },
"postgresLocation": { "value": "eastus2" },
"deployPrivateNetworking": { "value": false },
"marketplaceUrl": { "value": "https://marketplace-staging.agentbase.dev/api/v1" }
}
Expand Down
Loading