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
f9021241
Commit
f9021241
authored
Oct 06, 2017
by
Anton Babenko
Committed by
GitHub
Oct 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3 from terraform-aws-modules/remove_default_ip_cidrs
Remove default cidr for ingress rules
parents
abb27a84
bfb6e96b
Changes
48
Show whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
245 additions
and
178 deletions
+245
-178
main.tf
examples/complete/main.tf
+2
-2
main.tf
examples/http/main.tf
+6
-2
variables.tf
modules/_templates/variables.tf
+2
-2
auto_values.tf
modules/carbon-relay-ng/auto_values.tf
+6
-3
variables.tf
modules/carbon-relay-ng/variables.tf
+2
-2
auto_values.tf
modules/cassandra/auto_values.tf
+6
-3
variables.tf
modules/cassandra/variables.tf
+2
-2
auto_values.tf
modules/consul/auto_values.tf
+6
-3
variables.tf
modules/consul/variables.tf
+2
-2
auto_values.tf
modules/docker-swarm/auto_values.tf
+6
-3
variables.tf
modules/docker-swarm/variables.tf
+2
-2
auto_values.tf
modules/elasticsearch/auto_values.tf
+6
-3
variables.tf
modules/elasticsearch/variables.tf
+2
-2
auto_values.tf
modules/http-80/auto_values.tf
+6
-3
variables.tf
modules/http-80/variables.tf
+2
-2
auto_values.tf
modules/https-443/auto_values.tf
+6
-3
variables.tf
modules/https-443/variables.tf
+2
-2
auto_values.tf
modules/kafka/auto_values.tf
+6
-3
variables.tf
modules/kafka/variables.tf
+2
-2
auto_values.tf
modules/ldaps/auto_values.tf
+6
-3
variables.tf
modules/ldaps/variables.tf
+2
-2
auto_values.tf
modules/memcached/auto_values.tf
+6
-3
variables.tf
modules/memcached/variables.tf
+2
-2
auto_values.tf
modules/mssql/auto_values.tf
+6
-3
variables.tf
modules/mssql/variables.tf
+2
-2
auto_values.tf
modules/mysql/auto_values.tf
+6
-3
variables.tf
modules/mysql/variables.tf
+2
-2
auto_values.tf
modules/nomad/auto_values.tf
+6
-3
variables.tf
modules/nomad/variables.tf
+2
-2
auto_values.tf
modules/openvpn/auto_values.tf
+6
-3
variables.tf
modules/openvpn/variables.tf
+2
-2
auto_values.tf
modules/postgresql/auto_values.tf
+6
-3
variables.tf
modules/postgresql/variables.tf
+2
-2
auto_values.tf
modules/redis/auto_values.tf
+6
-3
variables.tf
modules/redis/variables.tf
+2
-2
auto_values.tf
modules/ssh/auto_values.tf
+6
-3
variables.tf
modules/ssh/variables.tf
+2
-2
auto_values.tf
modules/storm/auto_values.tf
+6
-3
variables.tf
modules/storm/variables.tf
+2
-2
auto_values.tf
modules/web/auto_values.tf
+6
-3
variables.tf
modules/web/variables.tf
+2
-2
auto_values.tf
modules/zipkin/auto_values.tf
+6
-3
variables.tf
modules/zipkin/variables.tf
+2
-2
auto_values.tf
modules/zookeeper/auto_values.tf
+6
-3
variables.tf
modules/zookeeper/variables.tf
+2
-2
rules.tf
rules.tf
+63
-63
update_groups.sh
update_groups.sh
+2
-2
variables.tf
variables.tf
+2
-2
No files found.
examples/complete/main.tf
View file @
f9021241
...
@@ -30,7 +30,7 @@ module "complete_sg" {
...
@@ -30,7 +30,7 @@ module "complete_sg" {
}
}
# Default CIDR blocks, which will be used for all ingress rules in this module. Typically these are CIDR blocks of the VPC.
# Default CIDR blocks, which will be used for all ingress rules in this module. Typically these are CIDR blocks of the VPC.
# If this is not specified then
world-open CIDR blocks ar
e used.
# If this is not specified then
no CIDR blocks will b
e used.
ingress_cidr_blocks
=
[
"10.10.0.0/16"
]
ingress_cidr_blocks
=
[
"10.10.0.0/16"
]
ingress_ipv6_cidr_blocks
=
[
"2001:db8::/64"
]
ingress_ipv6_cidr_blocks
=
[
"2001:db8::/64"
]
...
@@ -93,7 +93,7 @@ module "complete_sg" {
...
@@ -93,7 +93,7 @@ module "complete_sg" {
},
},
]
]
# Default CIDR blocks, which will be used for all egress rules in this module. Typically these are CIDR blocks of the VPC.
# Default CIDR blocks, which will be used for all egress rules in this module. Typically these are CIDR blocks of the VPC.
# If this is not specified then
world-open CIDR blocks ar
e used.
# If this is not specified then
no CIDR blocks will b
e used.
egress_cidr_blocks
=
[
"10.10.0.0/16"
]
egress_cidr_blocks
=
[
"10.10.0.0/16"
]
egress_ipv6_cidr_blocks
=
[
"2001:db8::/64"
]
egress_ipv6_cidr_blocks
=
[
"2001:db8::/64"
]
...
...
examples/http/main.tf
View file @
f9021241
...
@@ -25,8 +25,10 @@ module "http_sg" {
...
@@ -25,8 +25,10 @@ module "http_sg" {
source
=
"../../modules/http-80"
source
=
"../../modules/http-80"
name
=
"http-sg"
name
=
"http-sg"
description
=
"Security group with HTTP ports open for everybody, egress ports are all world open"
description
=
"Security group with HTTP ports open for everybody
(IPv4 CIDR)
, egress ports are all world open"
vpc_id
=
"
${data
.
aws_vpc
.
default
.
id
}
"
vpc_id
=
"
${data
.
aws_vpc
.
default
.
id
}
"
ingress_cidr_blocks
=
[
"0.0.0.0/0"
]
}
}
#####################
#####################
...
@@ -36,9 +38,11 @@ module "http_mysql_1_sg" {
...
@@ -36,9 +38,11 @@ module "http_mysql_1_sg" {
source
=
"../../modules/http-80"
source
=
"../../modules/http-80"
name
=
"http-mysql-1"
name
=
"http-mysql-1"
description
=
"Security group with HTTP and MySQL ports open for everybody
globally
"
description
=
"Security group with HTTP and MySQL ports open for everybody
(IPv4 CIDR)
"
vpc_id
=
"
${data
.
aws_vpc
.
default
.
id
}
"
vpc_id
=
"
${data
.
aws_vpc
.
default
.
id
}
"
ingress_cidr_blocks
=
[
"0.0.0.0/0"
]
# Add MySQL rules
# Add MySQL rules
ingress_rules
=
[
"mysql-tcp"
]
ingress_rules
=
[
"mysql-tcp"
]
}
}
...
...
modules/_templates/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/carbon-relay-ng/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/carbon-relay-ng/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/cassandra/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/cassandra/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/consul/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/consul/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/docker-swarm/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/docker-swarm/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/elasticsearch/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/elasticsearch/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/http-80/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/http-80/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/https-443/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/https-443/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/kafka/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/kafka/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/ldaps/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/ldaps/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/memcached/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/memcached/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/mssql/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/mssql/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/mysql/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/mysql/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/nomad/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/nomad/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/openvpn/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/openvpn/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/postgresql/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/postgresql/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/redis/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/redis/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/ssh/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/ssh/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/storm/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/storm/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/web/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/web/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/zipkin/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/zipkin/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
modules/zookeeper/auto_values.tf
View file @
f9021241
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
...
@@ -10,9 +10,12 @@ variable "auto_ingress_rules" {
}
}
variable
"auto_ingress_with_self"
{
variable
"auto_ingress_with_self"
{
description
=
"List of ingress rules with self to add automatically"
description
=
"List of
maps defining
ingress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[{
"rule"
=
"all-all"
}]
}
}
variable
"auto_egress_rules"
{
variable
"auto_egress_rules"
{
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
...
@@ -22,7 +25,7 @@ variable "auto_egress_rules" {
}
}
variable
"auto_egress_with_self"
{
variable
"auto_egress_with_self"
{
description
=
"List of egress rules with self to add automatically"
description
=
"List of
maps defining
egress rules with self to add automatically"
type
=
"list"
type
=
"list"
default
=
[]
default
=
[]
}
}
modules/zookeeper/variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
rules.tf
View file @
f9021241
...
@@ -121,127 +121,127 @@ variable "auto_groups" {
...
@@ -121,127 +121,127 @@ variable "auto_groups" {
default
=
{
default
=
{
carbon
-
relay
-
ng
=
{
carbon
-
relay
-
ng
=
{
ingress_rules
=
[
"carbon-line-in-tcp"
,
"carbon-line-in-udp"
,
"carbon-pickle-tcp"
,
"carbon-pickle-udp"
,
"carbon-gui-udp"
]
ingress_rules
=
[
"carbon-line-in-tcp"
,
"carbon-line-in-udp"
,
"carbon-pickle-tcp"
,
"carbon-pickle-udp"
,
"carbon-gui-udp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
cassandra
=
{
cassandra
=
{
ingress_rules
=
[
"cassandra-clients-tcp"
,
"cassandra-thrift-clients-tcp"
,
"cassandra-jmx-tcp"
]
ingress_rules
=
[
"cassandra-clients-tcp"
,
"cassandra-thrift-clients-tcp"
,
"cassandra-jmx-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
consul
=
{
consul
=
{
ingress_rules
=
[
"consul-tcp"
,
"consul-webui-tcp"
,
"consul-dns-tcp"
,
"consul-dns-udp"
,
"consul-serf-lan-tcp"
,
"consul-serf-lan-udp"
,
"consul-serf-wan-tcp"
,
"consul-serf-wan-udp"
]
ingress_rules
=
[
"consul-tcp"
,
"consul-webui-tcp"
,
"consul-dns-tcp"
,
"consul-dns-udp"
,
"consul-serf-lan-tcp"
,
"consul-serf-lan-udp"
,
"consul-serf-wan-tcp"
,
"consul-serf-wan-udp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
docker
-
swarm
=
{
docker
-
swarm
=
{
ingress_rules
=
[
"docker-swarm-mngmt-tcp"
,
"docker-swarm-node-tcp"
,
"docker-swarm-node-udp"
,
"docker-swarm-overlay-udp"
]
ingress_rules
=
[
"docker-swarm-mngmt-tcp"
,
"docker-swarm-node-tcp"
,
"docker-swarm-node-udp"
,
"docker-swarm-overlay-udp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
elasticsearch
=
{
elasticsearch
=
{
ingress_rules
=
[
"elasticsearch-rest-tcp"
,
"elasticsearch-java-tcp"
]
ingress_rules
=
[
"elasticsearch-rest-tcp"
,
"elasticsearch-java-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
http
-
80
=
{
http
-
80
=
{
ingress_rules
=
[
"http-80-tcp"
]
ingress_rules
=
[
"http-80-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
https
-
443
=
{
https
-
443
=
{
ingress_rules
=
[
"https-443-tcp"
]
ingress_rules
=
[
"https-443-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
kafka
=
{
kafka
=
{
ingress_rules
=
[
"kafka-broker-tcp"
]
ingress_rules
=
[
"kafka-broker-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
ldaps
=
{
ldaps
=
{
ingress_rules
=
[
"ldaps-tcp"
]
ingress_rules
=
[
"ldaps-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
memcached
=
{
memcached
=
{
ingress_rules
=
[
"memcached-tcp"
]
ingress_rules
=
[
"memcached-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
mysql
=
{
mysql
=
{
ingress_rules
=
[
"mysql-tcp"
]
ingress_rules
=
[
"mysql-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
mssql
=
{
mssql
=
{
ingress_rules
=
[
"mssql-tcp"
]
ingress_rules
=
[
"mssql-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
nomad
=
{
nomad
=
{
ingress_rules
=
[
"nomad-http-tcp"
,
"nomad-rpc-tcp"
,
"nomad-serf-tcp"
,
"nomad-serf-udp"
]
ingress_rules
=
[
"nomad-http-tcp"
,
"nomad-rpc-tcp"
,
"nomad-serf-tcp"
,
"nomad-serf-udp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
openvpn
=
{
openvpn
=
{
ingress_rules
=
[
"openvpn-udp"
,
"openvpn-tcp"
,
"openvpn-443-tcp"
]
ingress_rules
=
[
"openvpn-udp"
,
"openvpn-tcp"
,
"openvpn-443-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
postgresql
=
{
postgresql
=
{
ingress_rules
=
[
"postgresql-tcp"
]
ingress_rules
=
[
"postgresql-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
redis
=
{
redis
=
{
ingress_rules
=
[
"redis-tcp"
]
ingress_rules
=
[
"redis-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
ssh
=
{
ssh
=
{
ingress_rules
=
[
"ssh-tcp"
]
ingress_rules
=
[
"ssh-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
storm
=
{
storm
=
{
ingress_rules
=
[
"storm-nimbus-tcp"
,
"storm-ui-tcp"
,
"storm-supervisor-tcp"
]
ingress_rules
=
[
"storm-nimbus-tcp"
,
"storm-ui-tcp"
,
"storm-supervisor-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
web
=
{
web
=
{
ingress_rules
=
[
"http-80-tcp"
,
"http-8080-tcp"
,
"https-443-tcp"
,
"web-jmx-tcp"
]
ingress_rules
=
[
"http-80-tcp"
,
"http-8080-tcp"
,
"https-443-tcp"
,
"web-jmx-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
zipkin
=
{
zipkin
=
{
ingress_rules
=
[
"zipkin-admin-tcp"
,
"zipkin-admin-query-tcp"
,
"zipkin-admin-web-tcp"
,
"zipkin-query-tcp"
,
"zipkin-web-tcp"
]
ingress_rules
=
[
"zipkin-admin-tcp"
,
"zipkin-admin-query-tcp"
,
"zipkin-admin-web-tcp"
,
"zipkin-query-tcp"
,
"zipkin-web-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
zookeeper
=
{
zookeeper
=
{
ingress_rules
=
[
"zookeeper-2181-tcp"
,
"zookeeper-2888-tcp"
,
"zookeeper-3888-tcp"
,
"zookeeper-jmx-tcp"
]
ingress_rules
=
[
"zookeeper-2181-tcp"
,
"zookeeper-2888-tcp"
,
"zookeeper-3888-tcp"
,
"zookeeper-jmx-tcp"
]
ingress_
rules_
with_self
=
[
"all-all"
]
ingress_with_self
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
egress_rules
=
[
"all-all"
]
}
}
}
}
...
...
update_groups.sh
View file @
f9021241
...
@@ -104,7 +104,7 @@ variable "auto_ingress_rules" {
...
@@ -104,7 +104,7 @@ variable "auto_ingress_rules" {
}
}
variable "auto_ingress_with_self" {
variable "auto_ingress_with_self" {
description = "List of ingress rules with self to add automatically"
description = "List of
maps defining
ingress rules with self to add automatically"
type = "list"
type = "list"
default =
$ingress_with_self
default =
$ingress_with_self
}
}
...
@@ -116,7 +116,7 @@ variable "auto_egress_rules" {
...
@@ -116,7 +116,7 @@ variable "auto_egress_rules" {
}
}
variable "auto_egress_with_self" {
variable "auto_egress_with_self" {
description = "List of egress rules with self to add automatically"
description = "List of
maps defining
egress rules with self to add automatically"
type = "list"
type = "list"
default =
$egress_with_self
default =
$egress_with_self
}
}
...
...
variables.tf
View file @
f9021241
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
...
@@ -44,12 +44,12 @@ variable "ingress_with_source_security_group_id" {
variable
"ingress_cidr_blocks"
{
variable
"ingress_cidr_blocks"
{
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
description
=
"List of IPv4 CIDR ranges to use on all ingress rules"
default
=
[
"0.0.0.0/0"
]
default
=
[]
}
}
variable
"ingress_ipv6_cidr_blocks"
{
variable
"ingress_ipv6_cidr_blocks"
{
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
description
=
"List of IPv6 CIDR ranges to use on all ingress rules"
default
=
[
"::/0"
]
default
=
[]
}
}
variable
"ingress_prefix_list_ids"
{
variable
"ingress_prefix_list_ids"
{
...
...
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