2021-09-10 20:55:21 +00:00
|
|
|
variable "prefix" {
|
2021-03-15 08:41:04 +00:00
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2021-09-10 20:55:21 +00:00
|
|
|
variable "zone" {
|
|
|
|
type = string
|
2021-03-15 08:41:04 +00:00
|
|
|
}
|
|
|
|
|
2021-09-10 20:55:21 +00:00
|
|
|
variable "template_name" {}
|
|
|
|
|
|
|
|
variable "username" {}
|
2021-03-15 08:41:04 +00:00
|
|
|
|
2021-09-10 20:55:21 +00:00
|
|
|
variable "private_network_cidr" {}
|
2021-03-15 08:41:04 +00:00
|
|
|
|
|
|
|
variable "machines" {
|
|
|
|
description = "Cluster machines"
|
|
|
|
type = map(object({
|
2021-09-10 20:55:21 +00:00
|
|
|
node_type = string
|
|
|
|
cpu = string
|
|
|
|
mem = string
|
|
|
|
disk_size = number
|
|
|
|
additional_disks = map(object({
|
|
|
|
size = number
|
|
|
|
tier = string
|
|
|
|
}))
|
2021-03-15 08:41:04 +00:00
|
|
|
}))
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ssh_public_keys" {
|
|
|
|
type = list(string)
|
|
|
|
}
|