2015-04-07 10:49:28 +00:00
|
|
|
variable "username" {}
|
|
|
|
variable "password" {}
|
|
|
|
variable "tenant_name" {}
|
|
|
|
variable "auth_url" {}
|
|
|
|
variable "public_key" {}
|
2018-10-24 15:02:38 +00:00
|
|
|
|
2015-04-07 10:49:28 +00:00
|
|
|
variable "user_login" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = "stack"
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
2018-10-24 15:02:38 +00:00
|
|
|
|
2015-04-07 10:49:28 +00:00
|
|
|
variable "key_file_path" {}
|
|
|
|
|
|
|
|
variable "nb_of_nodes" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = "4"
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "pub_net_id" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = {
|
|
|
|
tr2 = "PublicNetwork-01"
|
|
|
|
tr2-1 = ""
|
|
|
|
}
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "region" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = "tr2"
|
|
|
|
description = "The region of openstack, for image/flavor/network lookups."
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "image" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = {
|
|
|
|
tr2 = "eee08821-c95a-448f-9292-73908c794661"
|
|
|
|
tr2-1 = ""
|
|
|
|
}
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "flavor" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = {
|
|
|
|
tr2 = "100"
|
|
|
|
tr2-1 = ""
|
|
|
|
}
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "servers" {
|
2018-10-24 15:02:38 +00:00
|
|
|
default = "3"
|
|
|
|
description = "The number of Consul servers to launch."
|
2015-04-07 10:49:28 +00:00
|
|
|
}
|