-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
77 lines (73 loc) · 1.91 KB
/
variables.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
#########################################
# Config Map variable
#########################################
variable "config" {
type = "map"
description = "Config Map which can be passed to this module"
default {}
}
#
# specific configs
#
variable "allowed_cidrs" {
type = "string"
description = "List of CIDRs to allow SSH from (CSV list allowed)"
default = "0.0.0.0/0"
}
variable "chef_addons" {
type = "string"
description = "Comma seperated list of addons to install. Default: `manage,push-jobs-server,reporting`"
default = "manage,push-jobs-server,reporting"
}
variable "chef_log" {
#type = "boolean"
description = "Log chef provisioner to file"
default = "true"
}
variable "chef_org" {
type = "map"
description = "Chef organization settings"
default = {
long = "Chef Organization"
short = "chef"
}
}
variable "chef_ssl" {
type = "map"
description = "Chef server SSL settings"
default = {
cert = ""
key = ""
}
}
variable "chef_user" {
type = "map"
description = "Chef user settings"
default = {
email = "chef.admin@domain.tld"
first = "Chef"
last = "Admin"
username = "chefadmin"
}
}
variable "chef_versions" {
type = "map"
description = "Chef software versions"
default = {
client = "13.6.4"
server = "12.17.5"
}
}
variable "instance" {
type = "map"
description = "EC2 instance host settings"
default = {
domain = "localdomain"
hostname = "localhost"
}
}
variable "instance_flavor" {
type = "string"
description = "EC2 instance flavor (type). Default: c3.xlarge"
default = "c3.xlarge"
}