-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterraform.tfvars
121 lines (100 loc) · 3.28 KB
/
terraform.tfvars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
###############################################################################
# General variables
###############################################################################
region = ""
project = "container-platform"
name = "container-platform"
###############################################################################
# VPC
###############################################################################
vpc_cidr = "10.0.0.0/16"
###############################################################################
# Public Network ACLs
###############################################################################
public_inbound_acl_rules = [
{
rule_number = 100
rule_action = "allow"
from_port = 0
to_port = 65535
protocol = "-1"
cidr_block = "0.0.0.0/0"
}
]
public_outbound_acl_rules = [
{
rule_number = 100
rule_action = "allow"
from_port = 0
to_port = 65535
protocol = "-1"
cidr_block = "0.0.0.0/0"
}
]
###############################################################################
# Private Network ACLs
###############################################################################
private_inbound_acl_rules = [
{
rule_number = 100
rule_action = "allow"
from_port = 0
to_port = 65535
protocol = "-1"
cidr_block = "0.0.0.0/0"
}
]
private_outbound_acl_rules = [
{
rule_number = 100
rule_action = "allow"
from_port = 0
to_port = 65535
protocol = "-1"
cidr_block = "0.0.0.0/0"
}
]
###############################################################################
# VPC endpoints SG
###############################################################################
###############################################################################
# Egress
###############################################################################
egress_with_cidr_blocks = [
{
rule = "https-443-tcp"
description = "All egress HTTPS"
cidr_blocks = "0.0.0.0/0"
},
]
###############################################################################
# CloudTrail
###############################################################################
is_multi_region_trail = false
include_global_service_events = true
###############################################################################
# EKS Cluster
###############################################################################
cluster_version = "1.27"
###############################################################################
# EKS Addons
###############################################################################
cluster_addons = {
coredns = {}
kube-proxy = {}
vpc-cni = {}
}
###############################################################################
# EKS Managed Node Group
###############################################################################
eks_managed_node_groups = {
private-eks-node = {
iam_role_additional_policies = {
AmazonSSMManagedInstanceCore = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
}
instance_types = ["m5.large"]
min_size = 1
max_size = 5
desired_size = 3
}
}