diff options
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-vpc')
-rw-r--r-- | fdio.infra.terraform/terraform-aws-vpc/main.tf | 8 | ||||
-rw-r--r-- | fdio.infra.terraform/terraform-aws-vpc/variables.tf | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/fdio.infra.terraform/terraform-aws-vpc/main.tf b/fdio.infra.terraform/terraform-aws-vpc/main.tf index fb51a7b385..1b84f8e351 100644 --- a/fdio.infra.terraform/terraform-aws-vpc/main.tf +++ b/fdio.infra.terraform/terraform-aws-vpc/main.tf @@ -26,6 +26,14 @@ resource "aws_security_group" "security_group" { tags = local.tags vpc_id = aws_vpc.vpc.id + ingress { + from_port = 0 + to_port = 0 + protocol = -1 + self = true + ipv6_cidr_blocks = ["::/0"] + } + dynamic "ingress" { for_each = var.security_group_ingress content { diff --git a/fdio.infra.terraform/terraform-aws-vpc/variables.tf b/fdio.infra.terraform/terraform-aws-vpc/variables.tf index 5c7c8dc79a..a501356063 100644 --- a/fdio.infra.terraform/terraform-aws-vpc/variables.tf +++ b/fdio.infra.terraform/terraform-aws-vpc/variables.tf @@ -71,14 +71,6 @@ variable "security_group_ingress" { cidr_blocks = ["0.0.0.0/0"] ipv6_cidr_blocks = ["::/0"] }, - { - from_port = 0 - to_port = 0 - protocol = -1 - self = true - cidr_blocks = ["0.0.0.0/0"] - ipv6_cidr_blocks = ["::/0"] - }, ] } |