Skip to content

Commit cd65a47

Browse files
committed
feat: added sg description
1 parent c244c45 commit cd65a47

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

_example/redis/example.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ module "redis" {
5252
####----------------------------------------------------------------------------------
5353
## Below A security group controls the traffic that is allowed to reach and leave the resources that it is associated with.
5454
####----------------------------------------------------------------------------------
55-
#tfsec:ignore:aws-ec2-add-description-to-security-group-rule
5655
vpc_id = module.vpc.vpc_id
5756
allowed_ip = [module.vpc.vpc_cidr_block]
5857
allowed_ports = [6379]

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ resource "aws_security_group_rule" "egress" {
5151
security_group_id = join("", aws_security_group.default.*.id)
5252
}
5353
#tfsec:ignore:aws-ec2-no-public-egress-sgr
54+
#tfsec:ignore:aws-ec2-add-description-to-security-group-rule
5455
resource "aws_security_group_rule" "egress_ipv6" {
5556
count = (var.enable_security_group == true && length(var.sg_ids) < 1 && var.is_external == false) && var.egress_rule == true ? 1 : 0
5657

0 commit comments

Comments
 (0)