62 lines
889 B
HCL
62 lines
889 B
HCL
# API Keys required to reach AWS/Vultr
|
|
variable vultr_api_key {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable aws_key {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable aws_secret {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable aws_region {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
# Cluster configuration
|
|
variable cluster {
|
|
type = object({
|
|
region = string
|
|
label = string
|
|
version = string
|
|
pools = map(object({
|
|
node_quantity = number
|
|
plan = string
|
|
label = string
|
|
min_nodes = number
|
|
max_nodes = number
|
|
tag = string
|
|
}))
|
|
})
|
|
}
|
|
|
|
|
|
variable playground {
|
|
type = object({
|
|
namespace = string
|
|
health = object({
|
|
dns = string
|
|
})
|
|
tls = object({
|
|
email = string
|
|
})
|
|
})
|
|
}
|
|
|
|
|
|
variable bastion {
|
|
type = object({
|
|
plan = string
|
|
os = string
|
|
label = string
|
|
})
|
|
}
|
|
|
|
|