From d0f9a890eeaf53f95e288d833a3a55f28f21765c Mon Sep 17 00:00:00 2001 From: Amit Phulera Date: Thu, 19 Dec 2024 17:04:01 +0530 Subject: [PATCH] remove ipv6 cidr blocks from all the security groups in network module --- src/commcare_cloud/terraform/modules/network/main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commcare_cloud/terraform/modules/network/main.tf b/src/commcare_cloud/terraform/modules/network/main.tf index 44c2033acd..c65d178e42 100644 --- a/src/commcare_cloud/terraform/modules/network/main.tf +++ b/src/commcare_cloud/terraform/modules/network/main.tf @@ -284,7 +284,6 @@ resource "aws_security_group" "alb-sg" { to_port = "80" protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] - ipv6_cidr_blocks = ["::/0"] } ingress { @@ -292,7 +291,6 @@ resource "aws_security_group" "alb-sg" { to_port = "443" from_port = "443" cidr_blocks = ["0.0.0.0/0"] - ipv6_cidr_blocks = ["::/0"] } ingress { @@ -504,7 +502,6 @@ resource "aws_security_group" "rds" { to_port = "5432" protocol = "tcp" cidr_blocks = flatten([aws_subnet.subnet-app-private.*.cidr_block, aws_subnet.subnet-db-private.*.cidr_block]) - ipv6_cidr_blocks = ["::/0"] } dynamic "egress" { @@ -547,7 +544,6 @@ resource "aws_security_group" "elasticache" { to_port = "6379" protocol = "tcp" cidr_blocks = flatten([aws_subnet.subnet-app-private.*.cidr_block, aws_subnet.subnet-public.*.cidr_block]) - ipv6_cidr_blocks = ["::/0"] } dynamic "egress" {