Skip to content

Commit

Permalink
Alterando mapeamento 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jonilsonds9 committed Nov 1, 2023
1 parent d38016c commit 8cfbb89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ resource "aws_security_group" "ecs" {
from_port = var.app_container_port
to_port = var.app_container_port
security_groups = [aws_security_group.alb.id]
cidr_blocks = [ aws_subnet.us-east-2a.cidr_block, aws_subnet.us-east-2b.cidr_block ]
cidr_blocks = [ aws_vpc.this.cidr_block ]
}

ingress {
protocol = "tcp"
from_port = var.payment_container_port
to_port = var.payment_container_port
cidr_blocks = [ aws_subnet.us-east-2a.cidr_block, aws_subnet.us-east-2b.cidr_block ]
cidr_blocks = [ aws_vpc.this.cidr_block ]
}

egress {
Expand Down

0 comments on commit 8cfbb89

Please sign in to comment.