From 1f1bd9d76ca6a6729351adcb9995f0a01c0abcdd Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 25 Oct 2021 13:24:40 -0400 Subject: [PATCH] fix --- common/README.md | 4 ++-- common/variables.port_list.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/README.md b/common/README.md index 5520593..f20c274 100644 --- a/common/README.md +++ b/common/README.md @@ -34,10 +34,10 @@ No modules. | [egress\_security\_groups](#input\_egress\_security\_groups) | List of egress security groups (all ports) | `list(string)` | `[]` | no | | [enable\_self](#input\_enable\_self) | Enable\|Disable self full access | `bool` | `false` | no | | [ingress\_networks](#input\_ingress\_networks) | List of ingress networks for access (with all pre-defined ingress ports) | `list(string)` | `[]` | no | -| [ingress\_port\_list](#input\_ingress\_port\_list) | Ingress port list of 5-tuple: from, to, proto, description, and cidr(list) | `list` |
[
[]
]
| no | +| [ingress\_port\_list](#input\_ingress\_port\_list) | Ingress port list of 5-tuple: from, to, proto, description, and cidr(list) | `list` | `[]` | no | | [ingress\_port\_map](#input\_ingress\_port\_map) | Ingress port list of objects: from, to, proto, description and cidr(list) |
list(object({
from = number
to = number
proto = any
description = string
cidr = list(string)
}))
| `[]` | no | | [ingress\_security\_groups](#input\_ingress\_security\_groups) | List of ingress security groups for all ports | `list(string)` | `[]` | no | -| [ingress\_self\_port\_list](#input\_ingress\_self\_port\_list) | Ingress port list of 4-tuple: from, to, proto, description | `list` |
[
[]
]
| no | +| [ingress\_self\_port\_list](#input\_ingress\_self\_port\_list) | Ingress port list of 4-tuple: from, to, proto, description | `list` | `[]` | no | | [ingress\_self\_port\_map](#input\_ingress\_self\_port\_map) | Ingress self access port list of objects: from, to, proto, description |
list(object({
from = number
to = number
proto = any
description = string
}))
| `[]` | no | | [tags](#input\_tags) | Extra security group tags | `map` | `{}` | no | | [use\_vpc\_cidr](#input\_use\_vpc\_cidr) | Enable\|Disable use of VPC CIDR block in the ingress\_networks | `bool` | `false` | no | diff --git a/common/variables.port_list.tf b/common/variables.port_list.tf index 25b9d58..792c79b 100644 --- a/common/variables.port_list.tf +++ b/common/variables.port_list.tf @@ -1,7 +1,7 @@ variable "ingress_port_list" { description = "Ingress port list of 5-tuple: from, to, proto, description, and cidr(list)" # type = list(tuple([number, number, any, string, list])) - default = [[]] + default = [] } variable "ingress_port_map" { @@ -19,7 +19,7 @@ variable "ingress_port_map" { variable "ingress_self_port_list" { description = "Ingress port list of 4-tuple: from, to, proto, description" # type = list(tuple([number, number, any, string])) - default = [[]] + default = [] } variable "ingress_self_port_map" {