Skip to content

Commit

Permalink
Alterando security groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jonilsonds9 committed Nov 1, 2023
1 parent e1eb3cf commit e952974
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 = ["192.168.1.0/24", "192.168.2.0/24"]
cidr_blocks = ["192.168.1.0/32", "192.168.2.0/32"]
}

ingress {
protocol = "tcp"
from_port = var.payment_container_port
to_port = var.payment_container_port
cidr_blocks = ["192.168.1.0/24", "192.168.2.0/24"]
cidr_blocks = ["192.168.1.0/32", "192.168.2.0/32"]
}

egress {
Expand Down

0 comments on commit e952974

Please sign in to comment.