Skip to content

Commit

Permalink
Update elasticache terraform cidr_blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
cduhn17 committed Jul 23, 2024
1 parent 12a3669 commit c24b2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit c24b2c4

Please sign in to comment.