Skip to content

Commit

Permalink
rfc1918 and rfc6598 in default_security_group_egress (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarranza authored Jul 11, 2022
1 parent 96bb770 commit 3db7add
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions terraform-modules/aws/vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,36 @@ variable "default_security_group_name" {
}

variable "default_security_group_egress" {
description = "List of maps of egress rules to set on the default security group"
description = "List of maps of egress rules to set on the default security group "
type = list(map(string))
default = [
{
cidr_blocks = "0.0.0.0/0"
description = "Allow all"
cidr_blocks = "10.0.0.0/8"
description = "rfc1918: Private Address Space"
from_port = 0
protocol = "-1"
self = false
to_port = 0
},
{
cidr_blocks = "172.16.0.0/12"
description = "rfc1918: Private Address Space"
from_port = 0
protocol = "-1"
self = false
to_port = 0
},
{
cidr_blocks = "192.168.0.0/16"
description = "rfc1918: Private Address Space"
from_port = 0
protocol = "-1"
self = false
to_port = 0
},
{
cidr_blocks = "100.64.0.0/10"
description = "rfc6598: Private Address Space"
from_port = 0
protocol = "-1"
self = false
Expand Down

0 comments on commit 3db7add

Please sign in to comment.