From be671e9f70e77fb10f48be385c594a9929d7caa6 Mon Sep 17 00:00:00 2001 From: Matthew Searle <65017209+matthewsearle01@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:33:20 +0000 Subject: [PATCH] set rds publicly-accessible to false (#5433) --- terraform/environments/wardship/rds.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/wardship/rds.tf b/terraform/environments/wardship/rds.tf index cbaff95582a..bc637e263a5 100644 --- a/terraform/environments/wardship/rds.tf +++ b/terraform/environments/wardship/rds.tf @@ -9,7 +9,7 @@ resource "aws_db_instance" "wardship_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