Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "explicitly setting public network access to false" #252

Merged
merged 1 commit into from
Jun 12, 2024
Merged
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
21 changes: 10 additions & 11 deletions modules/database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
Loading