Skip to content

Commit

Permalink
Minor v4.1.0 azurerm bugfixes (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcma-google committed Sep 16, 2024
1 parent 5642741 commit ba40583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cloud/azure/modules/app/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ locals {
WEBSITES_ENABLE_APP_SERVICE_STORAGE = false
PORT = 9000

// DOCKER_REGISTRY_SERVER_URL = "https://index.docker.io"

DB_USERNAME = "${azurerm_postgresql_flexible_server.civiform.administrator_login}@${azurerm_postgresql_flexible_server.civiform.name}"
DB_PASSWORD = data.azurerm_key_vault_secret.postgres_password.value
DB_JDBC_STRING = "jdbc:postgresql://${azurerm_postgresql_flexible_server.civiform.name}.postgres.database.azure.com:5432/postgres?user=${azurerm_postgresql_flexible_server.civiform.administrator_login}&password=${azurerm_postgresql_flexible_server.civiform.administrator_password}&sslmode=require"
Expand Down
3 changes: 2 additions & 1 deletion cloud/azure/modules/bastion/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ resource "azurerm_public_ip" "public_ip" {
name = "${var.resource_group_name}-ip"
location = var.resource_group_location
resource_group_name = var.resource_group_name
allocation_method = "Dynamic"
# Standard SKUs (like what staging uses) requires Static allocation
allocation_method = "Static"
}
# prevent all access to the bastion's public IP address, but then in script
# set it up so that the current machine can access the public ip
Expand Down

0 comments on commit ba40583

Please sign in to comment.