Skip to content

Commit

Permalink
feat: added sg description
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jun 12, 2023
1 parent 5862485 commit 2c325f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Expand Up @@ -63,6 +63,7 @@ resource "aws_security_group_rule" "egress_ipv6" {
ipv6_cidr_blocks = ["::/0"]
security_group_id = join("", aws_security_group.default.*.id)
}
#tfsec:ignore:aws-ec2-add-description-to-security-group-rule
resource "aws_security_group_rule" "ingress" {
count = length(var.allowed_ip) > 0 == true && length(var.sg_ids) < 1 ? length(compact(var.allowed_ports)) : 0

Expand Down

0 comments on commit 2c325f4

Please sign in to comment.