diff --git a/README.md b/README.md index 1d9edf4..d6c2ad9 100644 --- a/README.md +++ b/README.md @@ -305,10 +305,7 @@ Default: ```json [ { - "from_port": 0, - "protocol": -1, - "self": true, - "to_port": 0 + "self": true } ] ``` @@ -324,11 +321,7 @@ Default: ```json [ { - "cidr_blocks": "0.0.0.0/0", - "from_port": 0, - "protocol": "-1", - "self": true, - "to_port": 0 + "self": true } ] ``` diff --git a/variables.tf b/variables.tf index 717157a..06d33da 100644 --- a/variables.tf +++ b/variables.tf @@ -179,10 +179,7 @@ variable "default_security_group_ingress" { description = "List of maps of ingress rules to set on the default security group" type = list(map(string)) default = [{ - protocol = -1 - self = true - from_port = 0 - to_port = 0 + self = true }] } @@ -190,10 +187,6 @@ variable "default_security_group_egress" { description = "List of maps of egress rules to set on the default security group" type = list(map(string)) default = [{ - from_port = 0 - to_port = 0 - self = true - protocol = "-1" - cidr_blocks = "0.0.0.0/0" + self = true }] }