From 10c3a9b32e46a427568399ac9d6a38528d054eee Mon Sep 17 00:00:00 2001 From: Archit Chopra Date: Thu, 10 Aug 2023 14:20:56 +0530 Subject: [PATCH] fix: Fixed tfsec ignore --- main.tf | 3 +++ security_groups.tf | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 14fd698..4722e9e 100644 --- a/main.tf +++ b/main.tf @@ -1,6 +1,9 @@ #Module : label #Description : Terraform module to create consistent naming for multiple names. +#tfsec:ignore:aws-eks-no-public-cluster-access ## To provide eks endpoint public access from local network +#tfsec:ignore:aws-eks-no-public-cluster-access-to-cidr ## To provide eks endpoint public access from local network + module "labels" { source = "clouddrove/labels/aws" version = "1.3.0" diff --git a/security_groups.tf b/security_groups.tf index 99615ae..31b3c45 100644 --- a/security_groups.tf +++ b/security_groups.tf @@ -1,6 +1,7 @@ - #Module : SECURITY GROUP #Description : Provides a security group resource. +#tfsec:ignore:aws-ec2-no-public-egress-sgr ## To allow all outbound traffic from eks nodes. + resource "aws_security_group" "node_group" { count = var.enabled ? 1 : 0 name = "${module.labels.id}-node-group"