-
Notifications
You must be signed in to change notification settings - Fork 12
/
variables.tf
72 lines (60 loc) · 1.59 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
variable "machines" {
type = list(string)
description = "Machine names, corresponding to machine-NAME.yaml.tmpl files"
default = []
}
variable "cluster_name" {
type = string
description = "Cluster name used as prefix for the machine names"
default = "terraform-flatcar"
}
variable "ssh_keys" {
type = list(string)
default = []
description = "Additional SSH public keys for user 'core'."
}
variable "release_channel" {
type = string
description = "Release channel"
default = "stable"
validation {
condition = contains(["lts", "stable", "beta", "alpha"], var.release_channel)
error_message = "release_channel must be lts, stable, beta, or alpha."
}
}
variable "flavor_name" {
type = string
description = "The OpenStack flavor to use (a.k.a the spec of the instance)"
default = "ds1G"
}
variable "flatcar_version" {
type = string
description = "The Flatcar version associated to the release channel"
default = "current"
}
variable "user_name" {
type = string
description = "OpenStack username"
}
variable "tenant_name" {
type = string
description = "OpenStack tenant name"
}
variable "password" {
type = string
description = "OpenStack password"
}
variable "auth_url" {
type = string
description = "OpenStack authentication URL"
}
variable "region" {
type = string
description = "OpenStack region"
default = "RegionOne"
}
variable "ssh" {
type = bool
description = "Allow SSH connection from the outside"
default = false
}