[WIP] nodepools feature

This commit is contained in:
jodhi
2022-02-23 22:46:46 +07:00
parent 054782d6be
commit 7d301f2c6d
5 changed files with 38 additions and 18 deletions

View File

@@ -35,10 +35,6 @@ variable "control_plane_server_type" {
type = string
}
variable "agent_server_type" {
description = "Default agent server type"
type = string
}
variable "lb_server_type" {
description = "Default load balancer server type"
@@ -56,9 +52,12 @@ variable "servers_num" {
type = number
}
variable "agents_num" {
variable "agent_nodepools" {
description = "Number of agent nodes."
type = number
type = map(object({
server_type = string
count = number
}))
}
variable "hetzner_ccm_version" {