feat: add node pool module and use it for new node pool
This commit is contained in:
parent
f916e715e5
commit
b8b0a7ce22
5 changed files with 118 additions and 0 deletions
40
modules/node-pool/v1/variables.tf
Normal file
40
modules/node-pool/v1/variables.tf
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
variable "network_id" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "placement_group_id" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "size" {
|
||||
type = number
|
||||
}
|
||||
|
||||
variable "server_type" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "image" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cluster_name" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_key_ids" {
|
||||
type = list(string)
|
||||
}
|
||||
|
||||
variable "subnet_cidr" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "primary_ip_auto_delete" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
Reference in a new issue