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 bdee82e commit ec5239d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Expand Up @@ -42,7 +42,7 @@ data "aws_security_group" "existing" {
resource "aws_security_group_rule" "egress" {
count = (var.enable_security_group == true && length(var.sg_ids) < 1 && var.is_external == false && var.egress_rule == true) ? 1 : 0

description = "S3 Gateway Egress"
description = "Description of the egress rule."
type = "egress"
from_port = 0
to_port = 65535
Expand All @@ -54,6 +54,7 @@ resource "aws_security_group_rule" "egress" {
resource "aws_security_group_rule" "egress_ipv6" {
count = (var.enable_security_group == true && length(var.sg_ids) < 1 && var.is_external == false) && var.egress_rule == true ? 1 : 0

description = "Description of the egress ipv6 rule."
type = "egress"
from_port = 0
to_port = 65535
Expand Down

0 comments on commit ec5239d

Please sign in to comment.