aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-vpc/main.tf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-04-04 16:48:59 +0200
committerPeter Mikus <pmikus@cisco.com>2022-04-05 07:31:01 +0000
commit6a6ee512cbbcda3295114a478bcb9e3ac3d464c1 (patch)
tree0df993453eeb26c9957f2084ba6b01ccf33996f2 /fdio.infra.terraform/terraform-aws-vpc/main.tf
parent29a928c376a5695a12f58bc0fb400e53b2676e54 (diff)
fix(terraform): AWS alignments
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iba8742a755011515f7a455402b4b283c34fd78b2
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-vpc/main.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-vpc/main.tf8
1 files changed, 8 insertions, 0 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 {