Adding fallback for port 80 on base ecs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user