2019-01-13 12:02:01 +00:00
|
|
|
variable "domain" {
|
|
|
|
description = "Host name to advertise"
|
2019-01-12 17:33:39 +00:00
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "data_dir" {
|
|
|
|
description = "Directory on host to mount to /etcd-data"
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "node_name" {
|
|
|
|
description = "name of the etcd node"
|
2019-01-13 12:02:01 +00:00
|
|
|
default = "controller"
|
2019-01-12 17:33:39 +00:00
|
|
|
}
|
2019-01-12 22:31:14 +00:00
|
|
|
|
|
|
|
variable "depends_on" {
|
|
|
|
default = []
|
|
|
|
|
|
|
|
type = "list"
|
|
|
|
}
|
2019-01-13 12:02:01 +00:00
|
|
|
|
|
|
|
variable "pki" {
|
|
|
|
type = "map"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "version" {
|
|
|
|
description = "etcd version"
|
|
|
|
default = "3.3.11"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "host_bind_ip" {
|
|
|
|
description = "IP address to expose the ports on host"
|
2019-02-03 13:09:10 +00:00
|
|
|
default = "0.0.0.0"
|
2019-01-13 12:02:01 +00:00
|
|
|
}
|