Skip to content

Commit

Permalink
add smtp outbound
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 22, 2024
1 parent 9671490 commit 456e86b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tofu/modules/services/backend-infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,13 @@ resource "aws_vpc_security_group_egress_rule" "allow_tls_to_all" {
to_port = 443
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"
}

0 comments on commit 456e86b

Please sign in to comment.