Skip to content

Commit

Permalink
add smtp outbound
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed May 17, 2024
1 parent f1ae1de commit 3e053a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tofu/modules/services/backend-infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,24 @@ resource "aws_vpc_security_group_egress_rule" "allow_tls_to_all" {
cidr_ipv4 = "0.0.0.0/0"
}

resource "aws_vpc_security_group_egress_rule" "allow_smtp_to_all" {
security_group_id = aws_security_group.backend.id
description = "smtp to internet"
from_port = 587
to_port = 587
ip_protocol = "tcp"
cidr_ipv4 = "0.0.0.0/0"
}

resource "aws_vpc_security_group_egress_rule" "allow_smtp_to_all" {
security_group_id = aws_security_group.backend.id
description = "smtp to internet"
from_port = 587
to_port = 587
ip_protocol = "tcp"
cidr_ipv4 = "0.0.0.0/0"
}

resource "aws_vpc_security_group_egress_rule" "allow_smtp_to_all" {
security_group_id = aws_security_group.backend.id
description = "smtp to internet"
Expand Down

0 comments on commit 3e053a6

Please sign in to comment.