Skip to content

Commit

Permalink
Fix security group definition
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Apr 19, 2024
1 parent 42e3e07 commit 25bd5ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tf/modules/ooniapi_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ resource "aws_security_group" "ooniapi_service_ecs" {
ingress {
from_port = 80
to_port = 80
protocol = "-1"
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
ipv6_cidr_blocks = ["::/0"]
}
Expand Down Expand Up @@ -142,7 +142,7 @@ resource "aws_ecs_service" "ooniapi_service" {

network_configuration {
subnets = var.subnet_ids
security_groups = aws_security_group.ooniapi_service_ecs.id
security_groups = [aws_security_group.ooniapi_service_ecs.id]
}

depends_on = [
Expand Down
4 changes: 2 additions & 2 deletions tf/modules/oonith_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ resource "aws_security_group" "oonith_service_ecs" {
ingress {
from_port = 80
to_port = 80
protocol = "-1"
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
ipv6_cidr_blocks = ["::/0"]
}
Expand Down Expand Up @@ -137,7 +137,7 @@ resource "aws_ecs_service" "oonith_service" {

network_configuration {
subnets = var.subnet_ids
security_groups = aws_security_group.oonith_service_ecs.id
security_groups = [aws_security_group.oonith_service_ecs.id]
}

depends_on = [
Expand Down

0 comments on commit 25bd5ac

Please sign in to comment.