50 lines
1.2 KiB
HCL
50 lines
1.2 KiB
HCL
variable "hcloud_token" {
|
|
description = "Hetzner Cloud API Token"
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_key_name" {
|
|
description = "Name of your public key to identify at Hetzner Cloud portal"
|
|
type = string
|
|
default = "restore_test_key"
|
|
}
|
|
|
|
variable "ssh_extra_key_names" {
|
|
description = "Name of additional public keys installed on the system"
|
|
type = list(any)
|
|
default = [
|
|
"zahnrad"
|
|
]
|
|
}
|
|
|
|
variable "files_dir" {
|
|
description = "Directory to store artifacts"
|
|
type = string
|
|
default = "artifacts/"
|
|
}
|
|
|
|
variable "hcloud_server_type" {
|
|
description = "vServer type name, lookup via `hcloud server-type list`"
|
|
type = string
|
|
default = "cx11"
|
|
}
|
|
|
|
variable "hcloud_server_datacenter" {
|
|
description = "Desired datacenter location name, lookup via `hcloud datacenter list`"
|
|
type = string
|
|
default = "hel1-dc2"
|
|
}
|
|
|
|
variable "hcloud_server_name" {
|
|
description = "Name of the server"
|
|
type = string
|
|
default = "www1"
|
|
}
|
|
|
|
# Update version to the latest release of fcct
|
|
variable "tools_fcct_version" {
|
|
description = "See https://github.com/coreos/fcct/releases for available versions"
|
|
type = string
|
|
default = "0.6.0"
|
|
}
|