We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e44f5 commit 708b9b7Copy full SHA for 708b9b7
example/complete/example.tf
@@ -46,15 +46,16 @@ module "security_group" {
46
new_sg_egress_rules_with_cidr_blocks = [
47
{
48
rule_count = 1
49
- from_port = 443
50
- protocol = "tcp"
51
- to_port = 443
52
- cidr_blocks = ["0.0.0.0/0"] # Allow only HTTPS outbound traffic
53
- description = "Allow outbound HTTPS traffic."
+ from_port = 0
+ protocol = "-1"
+ to_port = 0
+ cidr_blocks = [module.vpc.vpc_cidr_block] # Allow all outbound traffic within the VPC
+ description = "Allow all outbound traffic within the VPC."
54
}
55
]
56
57
58
+
59
## EGRESS Rules
60
# new_sg_egress_rules_with_cidr_blocks = [
61
# {
0 commit comments