not hardcode the ip allocation for agents

This commit is contained in:
jodhi
2022-02-24 22:49:36 +07:00
parent 7d301f2c6d
commit 58c630ba78
5 changed files with 10 additions and 8 deletions

View File

@@ -52,12 +52,14 @@ variable "servers_num" {
type = number
}
variable "agents_num" {
description = "Default agent server type"
type = number
}
variable "agent_nodepools" {
description = "Number of agent nodes."
type = map(object({
server_type = string
count = number
}))
type = map(any)
}
variable "hetzner_ccm_version" {