|
@@ -148,8 +148,8 @@ resource "aws_security_group_rule" "outbound_to_mailrelay_25" {
|
|
|
from_port = 25
|
|
|
to_port = 25
|
|
|
protocol = "tcp"
|
|
|
- cidr_blocks = var.cidr_map["smtp"]
|
|
|
- count = length(var.cidr_map["smtp"]) > 0 ? 1 : 0
|
|
|
+ cidr_blocks = var.cidr_map["vpc-system-services"]
|
|
|
+ count = length(var.cidr_map["vpc-system-services"]) > 0 ? 1 : 0
|
|
|
}
|
|
|
|
|
|
resource "aws_security_group_rule" "outbound_to_ec2_s3_endpoint" {
|