Skip to content

Commit

Permalink
tweaking terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrichlake committed Dec 14, 2023
1 parent d935ec3 commit 35f5089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ resource "azurerm_linux_web_app" "api" {
ENV = var.environment
REPORT_STREAM_URL_PREFIX = "https://${local.rs_domain_prefix}prime.cdc.gov"
KEY_VAULT_NAME = azurerm_key_vault.key_storage.name
DB_URL = "jdbc:postgresql://"
DB_PORT = "5433"
DB_URL = "jdbc:postgresql://cdcti-${var.environment}-database.postgres.database.azure.com"
DB_PORT = "5432"
DB_NAME = "intermediary"
DB_USER = azurerm_postgresql_flexible_server.database.administrator_login
DB_PASS = azurerm_postgresql_flexible_server.database.administrator_password
Expand Down
1 change: 1 addition & 0 deletions operations/template/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ resource "azurerm_postgresql_flexible_server" "database" {
resource_group_name = data.azurerm_resource_group.group.name
location = data.azurerm_resource_group.group.location
sku_name = "B_Standard_B1ms"
database_name = "intermediary"
version = "16"
storage_mb = "32768"
backup_retention_days = "14"
Expand Down

0 comments on commit 35f5089

Please sign in to comment.