From c24b2c44bc5bab1e2148d4f89e3e44f4c7deaa72 Mon Sep 17 00:00:00 2001 From: cduhn17 Date: Tue, 23 Jul 2024 09:38:51 -0500 Subject: [PATCH] Update elasticache terraform cidr_blocks --- infrastructure/elasticache.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/elasticache.tf b/infrastructure/elasticache.tf index 5828d2e9..bf396c71 100644 --- a/infrastructure/elasticache.tf +++ b/infrastructure/elasticache.tf @@ -6,7 +6,7 @@ resource "aws_security_group" "elasticache_security_group" { from_port = 6379 to_port = 6379 protocol = "tcp" - cidr_blocks = ["172.31.0.0/16"] // Restrict to a specific CIDR block, ideally your VPC's CIDR + cidr_blocks = [aws_vpc.crossfeed_vpc.cidr_block] // Dynamically restrict to a specific CIDR block, ideally your VPC's CIDR } }