-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.tf
112 lines (86 loc) · 1.87 KB
/
vars.tf
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
variable cluster_name {
description = "The name of the cluster; will be used to tag objects in AWS. Each cluster should have a different name to allow multiple clusters to exist in the same AWS region / account."
}
variable vpc_cidr_block {
default = "172.20.0.0/16"
}
variable minion_associate_public_ip_address {
default = true
}
variable minion_tcp_elb_enabled {
default = false
}
variable minion_security_groups {
type = "list"
default = []
}
variable master_security_groups {
type = "list"
default = []
}
variable root_domain {}
variable root_volume_size {
default = 100
}
variable vpc_id {}
variable minions_public_ports {
type = "list"
default = []
}
variable vpc_subnet_ids_list {
type = "list"
}
variable container_cidr_block {
default = "10.244.0.0/16"
}
variable ami {
// Ubuntu xenial 16.04, instance store, HVM
// See https://cloud-images.ubuntu.com/locator/ec2/ for others.
// HVM, ebs-root only please.
default = ""
}
variable master_instance_type {
default = "m4.large"
}
variable master_user_data {
default = ""
}
variable minion_user_data {
default = ""
}
variable minion_instance_type {
default = "m4.xlarge"
}
variable num_azs {
default = "1"
}
variable key_pair_name {
default = "kubernetes-key-pair"
}
variable iam_suffix {
default = ""
}
variable support_nat {
default = true
}
variable num_masters {
default = 1
}
variable num_minions {
default = 3
}
variable enable_extra_minion_security_group {
default = false
}
variable extra_minion_security_group {
description = "Extra security groups that will be allow to talk to the minions"
default = ""
}
variable extra_minion_security_group_port {
description = "Port on which the extra security groups that will be allow to talk to the minions"
default = 80
}
variable elb_name {
type = "string"
default = "kubernetes-master"
}