From 8cfbb89b6a01cc56985ef729eb393c4b66a62b70 Mon Sep 17 00:00:00 2001 From: Jonilson Sousa Date: Wed, 1 Nov 2023 15:17:01 -0300 Subject: [PATCH] Alterando mapeamento 14 --- infra/ecs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/ecs.tf b/infra/ecs.tf index c489e79..5621b0d 100644 --- a/infra/ecs.tf +++ b/infra/ecs.tf @@ -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 {