Skip to content

Commit

Permalink
fix: Fixed tfsec ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
13archit committed Aug 10, 2023
1 parent 24b6c49 commit 10c3a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion security_groups.tf
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 10c3a9b

Please sign in to comment.