Skip to content

Commit

Permalink
set rds public access to false (#5434)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewsearle01 authored Mar 21, 2024
1 parent be671e9 commit 2f77acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/dacp/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_db_instance" "dacp_db" {
username = local.application_data.accounts[local.environment].db_username
password = random_password.password.result
skip_final_snapshot = true
publicly_accessible = true
publicly_accessible = false
vpc_security_group_ids = [aws_security_group.postgresql_db_sc.id]
db_subnet_group_name = aws_db_subnet_group.dbsubnetgroup.name
allow_major_version_upgrade = true
Expand Down

0 comments on commit 2f77acc

Please sign in to comment.