From 619e2a3f0ee83aa78ae39f07eea69e3b4ec38932 Mon Sep 17 00:00:00 2001 From: "waqas.yousaf" Date: Tue, 2 Apr 2024 12:35:22 +0200 Subject: [PATCH] OPS-0: fixed lint --- main.tf | 8 ++++---- variables.tf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main.tf b/main.tf index ba18aed..a29e918 100644 --- a/main.tf +++ b/main.tf @@ -24,11 +24,11 @@ module "aws_vpc" { customer_gateways = var.vpc_customer_gateways - manage_default_route_table = false - manage_default_network_acl = false - manage_default_security_group = var.manage_default_security_group + manage_default_route_table = false + manage_default_network_acl = false + manage_default_security_group = var.manage_default_security_group default_security_group_ingress = var.default_security_group_ingress - default_security_group_egress = var.default_security_group_egress + default_security_group_egress = var.default_security_group_egress name = var.name tags = var.tags diff --git a/variables.tf b/variables.tf index 9132791..a5aeb46 100644 --- a/variables.tf +++ b/variables.tf @@ -178,7 +178,7 @@ variable "manage_default_security_group" { variable "default_security_group_ingress" { description = "List of maps of ingress rules to set on the default security group" type = list(map(string)) - default = [{ + default = [{ protocol = -1 self = true from_port = 0 @@ -189,7 +189,7 @@ variable "default_security_group_ingress" { variable "default_security_group_egress" { description = "List of maps of egress rules to set on the default security group" type = list(map(string)) - default = [{ + default = [{ from_port = 0 to_port = 0 protocol = "-1"