Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-security-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-security-group
Commits
072e49e3
Unverified
Commit
072e49e3
authored
Nov 15, 2017
by
Anton Babenko
Committed by
GitHub
Nov 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed autogenerated templates to include ipv6 rules also (#19)
parent
b9b5b0f3
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
396 additions
and
44 deletions
+396
-44
main.tf
modules/_templates/main.tf
+8
-2
variables.tf
modules/_templates/variables.tf
+10
-0
main.tf
modules/carbon-relay-ng/main.tf
+8
-2
variables.tf
modules/carbon-relay-ng/variables.tf
+10
-0
main.tf
modules/cassandra/main.tf
+8
-2
variables.tf
modules/cassandra/variables.tf
+10
-0
main.tf
modules/consul/main.tf
+8
-2
variables.tf
modules/consul/variables.tf
+10
-0
main.tf
modules/docker-swarm/main.tf
+8
-2
variables.tf
modules/docker-swarm/variables.tf
+10
-0
main.tf
modules/elasticsearch/main.tf
+8
-2
variables.tf
modules/elasticsearch/variables.tf
+10
-0
main.tf
modules/http-80/main.tf
+8
-2
variables.tf
modules/http-80/variables.tf
+10
-0
main.tf
modules/https-443/main.tf
+8
-2
variables.tf
modules/https-443/variables.tf
+10
-0
main.tf
modules/kafka/main.tf
+8
-2
variables.tf
modules/kafka/variables.tf
+10
-0
main.tf
modules/ldaps/main.tf
+8
-2
variables.tf
modules/ldaps/variables.tf
+10
-0
main.tf
modules/memcached/main.tf
+8
-2
variables.tf
modules/memcached/variables.tf
+10
-0
main.tf
modules/mssql/main.tf
+8
-2
variables.tf
modules/mssql/variables.tf
+10
-0
main.tf
modules/mysql/main.tf
+8
-2
variables.tf
modules/mysql/variables.tf
+10
-0
main.tf
modules/nomad/main.tf
+8
-2
variables.tf
modules/nomad/variables.tf
+10
-0
main.tf
modules/openvpn/main.tf
+8
-2
variables.tf
modules/openvpn/variables.tf
+10
-0
main.tf
modules/postgresql/main.tf
+8
-2
variables.tf
modules/postgresql/variables.tf
+10
-0
main.tf
modules/redis/main.tf
+8
-2
variables.tf
modules/redis/variables.tf
+10
-0
main.tf
modules/ssh/main.tf
+8
-2
variables.tf
modules/ssh/variables.tf
+10
-0
main.tf
modules/storm/main.tf
+8
-2
variables.tf
modules/storm/variables.tf
+10
-0
main.tf
modules/web/main.tf
+8
-2
variables.tf
modules/web/variables.tf
+10
-0
main.tf
modules/zipkin/main.tf
+8
-2
variables.tf
modules/zipkin/variables.tf
+10
-0
main.tf
modules/zookeeper/main.tf
+8
-2
variables.tf
modules/zookeeper/variables.tf
+10
-0
No files found.
modules/_templates/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/_templates/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/carbon-relay-ng/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/carbon-relay-ng/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/cassandra/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/cassandra/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/consul/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/consul/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/docker-swarm/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/docker-swarm/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/elasticsearch/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/elasticsearch/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/http-80/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/http-80/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/https-443/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/https-443/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/kafka/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/kafka/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/ldaps/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/ldaps/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/memcached/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/memcached/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/mssql/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/mssql/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/mysql/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/mysql/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/nomad/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/nomad/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/openvpn/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/openvpn/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/postgresql/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/postgresql/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/redis/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/redis/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/ssh/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/ssh/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/storm/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/storm/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/web/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/web/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/zipkin/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/zipkin/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
modules/zookeeper/main.tf
View file @
072e49e3
...
@@ -15,9 +15,12 @@ module "sg" {
...
@@ -15,9 +15,12 @@ module "sg" {
# Open for self
# Open for self
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
ingress_with_self
=
[
"
${
concat
(
var
.
auto_ingress_with_self
,
var
.
ingress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
ingress_with_cidr_blocks
=
[
"
${
var
.
ingress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
ingress_with_ipv6_cidr_blocks
=
[
"
${
var
.
ingress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
ingress_with_source_security_group_id
=
[
"
${
var
.
ingress_with_source_security_group_id
}
"
]
...
@@ -37,9 +40,12 @@ module "sg" {
...
@@ -37,9 +40,12 @@ module "sg" {
# Open for self
# Open for self
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
egress_with_self
=
[
"
${
concat
(
var
.
auto_egress_with_self
,
var
.
egress_with_self
)
}
"
]
# Open to
cidr_
blocks
# Open to
IPv4 cidr
blocks
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
egress_with_cidr_blocks
=
[
"
${
var
.
egress_with_cidr_blocks
}
"
]
# Open to IPv6 cidr blocks
egress_with_ipv6_cidr_blocks
=
[
"
${
var
.
egress_with_ipv6_cidr_blocks
}
"
]
# Open for security group id
# Open for security group id
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
egress_with_source_security_group_id
=
[
"
${
var
.
egress_with_source_security_group_id
}
"
]
...
...
modules/zookeeper/variables.tf
View file @
072e49e3
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
...
@@ -37,6 +37,11 @@ variable "ingress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"ingress_with_ipv6_cidr_blocks"
{
description
=
"List of ingress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"ingress_with_source_security_group_id"
{
variable
"ingress_with_source_security_group_id"
{
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
description
=
"List of ingress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
...
@@ -75,6 +80,11 @@ variable "egress_with_cidr_blocks" {
default
=
[]
default
=
[]
}
}
variable
"egress_with_ipv6_cidr_blocks"
{
description
=
"List of egress rules to create where 'ipv6_cidr_blocks' is used"
default
=
[]
}
variable
"egress_with_source_security_group_id"
{
variable
"egress_with_source_security_group_id"
{
description
=
"List of egress rules to create where 'source_security_group_id' is used"
description
=
"List of egress rules to create where 'source_security_group_id' is used"
default
=
[]
default
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment