-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
103 lines (78 loc) · 1.82 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
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
# specify customer and environment
variable "customer" {
default = "dirict"
}
variable "environment" {
default = "plgtest"
}
# specify external domain base
variable "domain_base" {
default = "cloud.pgomersbach.net"
}
# specify A record name for external load balancer
variable "ext_lb_name" {
default = "www"
}
# specify AWS credentials as 'export TF_VAR_aws_access_key=<accesskey>; export TF_VAR_aws_secret_key=<secretkey>'
variable "aws_access_key" {}
variable "aws_secret_key" {}
# specify openstack user cretentials
variable "user_name" {
default = "paul.gomersbach"
}
# set openstack password as 'export TF_VAR_password=<password>'
variable "password" {}
# generate your own key
variable "ssh_key_file" {
default = "~/.ssh/id_rsa.terraform"
}
############### adjust as needed ###############
variable "db_vol_gb" {
default = 100
}
variable "nfs_vol_gb" {
default = 10
}
variable "es_vol_gb" {
default = 100
}
############### leave unchanged for naturalis openstack ###################
variable "tenant_name" {
default = "rely"
}
variable "auth_url" {
default = "https://stack.naturalis.nl:5000/v2.0"
}
variable "region" {
default = "RegionOne"
}
variable "external_gateway" {
default = "8e314b96-ae2b-41ac-bed0-5944816f56d8"
}
variable "pool" {
default = "external"
}
variable "image_deb" {
default = "debian-7-amd64"
}
variable "image_ub" {
default = "Ubuntu 14.04 LTS"
}
variable "image_win" {
default = "Windows Server 2012 R2 Std Eval"
}
variable "flavor_appl" {
default = "ha_localdisk.4c.16r.60h"
}
variable "flavor_db" {
default = "ha_localdisk.4c.16r.60h"
}
variable "flavor_mon" {
default = "ha_localdisk.1c.1r.20h"
}
variable "flavor_win" {
default = "ha_localdisk.1c.1r.60h"
}
variable "flavor_lb" {
default = "ha_localdisk.1c.1r.20h"
}