Skip to content

Commit 29384c0

Browse files
committed
feat: update and added resource description
1 parent ff0a764 commit 29384c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ resource "aws_security_group_rule" "egress" {
4848
cidr_blocks = ["0.0.0.0/0"]
4949
security_group_id = join("", aws_security_group.default.*.id)
5050
}
51+
#tfsec:ignore:aws-ec2-no-public-egress-sgr
5152
resource "aws_security_group_rule" "egress_ipv6" {
5253
count = (var.enable_security_group == true && length(var.sg_ids) < 1 && var.is_external == false) && var.egress_rule == true ? 1 : 0
5354

@@ -58,7 +59,7 @@ resource "aws_security_group_rule" "egress_ipv6" {
5859
ipv6_cidr_blocks = ["::/0"]
5960
security_group_id = join("", aws_security_group.default.*.id)
6061
}
61-
#defsec:ignore:aws-ec2-no-public-egress-sgr
62+
#tfsec:ignore:aws-ec2-no-public-egress-sgr
6263
resource "aws_security_group_rule" "ingress" {
6364
count = length(var.allowed_ip) > 0 == true && length(var.sg_ids) < 1 ? length(compact(var.allowed_ports)) : 0
6465

0 commit comments

Comments
 (0)