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 708b9b7 commit 478e000Copy full SHA for 478e000
example/complete/example.tf
@@ -43,16 +43,18 @@ module "security_group" {
43
description = "Allow PostgreSQL traffic."
44
}
45
]
46
+
47
new_sg_egress_rules_with_cidr_blocks = [
48
{
49
rule_count = 1
- from_port = 0
50
- protocol = "-1"
51
- to_port = 0
52
- cidr_blocks = [module.vpc.vpc_cidr_block] # Allow all outbound traffic within the VPC
53
- description = "Allow all outbound traffic within the VPC."
+ from_port = 443
+ protocol = "tcp"
+ to_port = 443
+ cidr_blocks = ["0.0.0.0/0"] # Allow only HTTPS outbound traffic
54
+ description = "Allow outbound HTTPS traffic."
55
56
57
58
59
60
0 commit comments