From 8f0eeaa17988f47143c8c3cd7056230d02240cfe Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Fri, 5 Apr 2024 12:10:34 +0100 Subject: [PATCH] update db sg --- terraform/environments/cdpt-chaps/database.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/cdpt-chaps/database.tf b/terraform/environments/cdpt-chaps/database.tf index 7e603f28784..fb5a0ce4928 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -44,7 +44,7 @@ resource "aws_security_group" "db" { from_port = 1433 to_port = 1433 protocol = "tcp" - cidr_blocks = ["0.0.0.0/0"] + cidr_blocks = [data.aws_vpc.shared.cidr_block] } egress { from_port = 0