2022-02-19 13:38:24 +01:00
|
|
|
variable "hcloud_token" {
|
|
|
|
description = "Hetzner Cloud API Token"
|
|
|
|
type = string
|
|
|
|
sensitive = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "name" {
|
|
|
|
description = "Host name"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "public_key" {
|
|
|
|
description = "SSH public Key."
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "private_key" {
|
|
|
|
description = "SSH private Key."
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-02-20 11:30:07 +01:00
|
|
|
variable "additional_public_keys" {
|
|
|
|
description = "Additional SSH public Keys. Use them to grant other team members root access to your cluster nodes"
|
|
|
|
type = list(string)
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
2022-02-19 13:38:24 +01:00
|
|
|
variable "ssh_keys" {
|
|
|
|
description = "List of SSH key IDs"
|
|
|
|
type = list(string)
|
|
|
|
nullable = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "firewall_ids" {
|
|
|
|
description = "Set of firewal IDs"
|
|
|
|
type = set(number)
|
|
|
|
nullable = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "placement_group_id" {
|
|
|
|
description = "Placement group ID"
|
|
|
|
type = number
|
|
|
|
nullable = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "labels" {
|
|
|
|
description = "Labels"
|
|
|
|
type = map(any)
|
|
|
|
nullable = true
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "location" {
|
|
|
|
description = "The server location"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-02-26 12:26:14 +01:00
|
|
|
variable "ipv4_subnet_id" {
|
2022-02-25 19:16:38 +01:00
|
|
|
description = "The subnet id"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-02-26 12:26:14 +01:00
|
|
|
variable "private_ipv4" {
|
2022-02-25 19:16:38 +01:00
|
|
|
description = "Private IP for the server"
|
|
|
|
type = string
|
2022-02-19 13:38:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "server_type" {
|
|
|
|
description = "The server type"
|
|
|
|
type = string
|
|
|
|
}
|