From 5310acc01b55ad663289ed79ea5d63261b5765e3 Mon Sep 17 00:00:00 2001 From: John Kerry Date: Wed, 12 Jun 2024 15:20:13 -0400 Subject: [PATCH] Revert "explicitly setting public network access to false" This reverts commit 443b6f83846e35e5ae91bc4f17155d6be48ac916. --- modules/database/main.tf | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/database/main.tf b/modules/database/main.tf index 109cdf0c..f3439f5e 100644 --- a/modules/database/main.tf +++ b/modules/database/main.tf @@ -12,17 +12,16 @@ resource "azurerm_postgresql_flexible_server" "tfe" { name = "${var.friendly_name_prefix}-pg" resource_group_name = var.resource_group_name - administrator_login = var.database_user - administrator_password = random_string.tfe_pg_password.result - public_network_access_enabled = false - backup_retention_days = var.database_backup_retention_days - delegated_subnet_id = var.database_subnet_id - private_dns_zone_id = var.database_private_dns_zone_id - sku_name = var.database_machine_type - storage_mb = var.database_size_mb - tags = var.tags - version = var.database_version - zone = var.database_availability_zone + administrator_login = var.database_user + administrator_password = random_string.tfe_pg_password.result + backup_retention_days = var.database_backup_retention_days + delegated_subnet_id = var.database_subnet_id + private_dns_zone_id = var.database_private_dns_zone_id + sku_name = var.database_machine_type + storage_mb = var.database_size_mb + tags = var.tags + version = var.database_version + zone = var.database_availability_zone } resource "azurerm_postgresql_flexible_server_configuration" "tfe" {