Skip to content

Commit cd2d60a

Browse files
author
rakeshclouddevops
committed
updated sg
1 parent 478e000 commit cd2d60a

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

example/complete/example.tf

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,36 +43,20 @@ module "security_group" {
4343
description = "Allow PostgreSQL traffic."
4444
}
4545
]
46-
46+
4747
new_sg_egress_rules_with_cidr_blocks = [
4848
{
4949
rule_count = 1
5050
from_port = 443
5151
protocol = "tcp"
5252
to_port = 443
53-
cidr_blocks = ["0.0.0.0/0"] # Allow only HTTPS outbound traffic
53+
cidr_blocks = ["0.0.0.0/0"] # Allow only HTTPS outbound traffic
5454
description = "Allow outbound HTTPS traffic."
5555
}
5656
]
57-
58-
59-
60-
61-
## EGRESS Rules
62-
# new_sg_egress_rules_with_cidr_blocks = [
63-
# {
64-
# rule_count = 1
65-
# from_port = 0
66-
# protocol = "-1"
67-
# to_port = 0
68-
# cidr_blocks = ["0.0.0.0/0"]
69-
# description = "Allow all outbound traffic."
70-
# }
71-
# ]
7257

7358
}
7459

75-
7660
# Define Subnet module
7761
module "public_subnet" {
7862
source = "clouddrove/subnet/aws"

0 commit comments

Comments
 (0)