45 lines
771 B
HCL
45 lines
771 B
HCL
variable "username" {}
|
|
variable "password" {}
|
|
variable "tenant_name" {}
|
|
variable "auth_url" {}
|
|
variable "public_key" {}
|
|
variable "user_login" {
|
|
default = "stack"
|
|
}
|
|
variable "key_file_path" {}
|
|
|
|
variable "nb_of_nodes" {
|
|
default = "4"
|
|
}
|
|
|
|
variable "pub_net_id" {
|
|
default = {
|
|
tr2="PublicNetwork-01"
|
|
tr2-1 = ""
|
|
}
|
|
}
|
|
|
|
variable "region" {
|
|
default = "tr2"
|
|
description = "The region of openstack, for image/flavor/network lookups."
|
|
}
|
|
|
|
variable "image" {
|
|
default = {
|
|
tr2 = "eee08821-c95a-448f-9292-73908c794661"
|
|
tr2-1 = ""
|
|
}
|
|
}
|
|
|
|
variable "flavor" {
|
|
default = {
|
|
tr2 = "100"
|
|
tr2-1 = ""
|
|
}
|
|
}
|
|
|
|
variable "servers" {
|
|
default = "3"
|
|
description = "The number of Consul servers to launch."
|
|
}
|