Adding fallback for port 80 on base ecs

This commit is contained in:
shockrah 2022-12-16 22:50:15 -08:00
parent 6b0f985cd9
commit f47ce5e4ff

View File

@ -20,6 +20,12 @@ resource "aws_security_group" "ecs_web_ingress" {
resource "aws_security_group" "base_ecs" { resource "aws_security_group" "base_ecs" {
vpc_id = aws_vpc.athens_vpc.id vpc_id = aws_vpc.athens_vpc.id
egress {
cidr_blocks = ["0.0.0.0/0"]
from_port = 80
to_port = 80
protocol = "tcp"
}
egress { egress {
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
from_port = 443 from_port = 443