2022-07-14 02:56:08 +02:00
|
|
|
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/"
|
|
|
|
}
|
|
|
|
|
2022-07-14 05:00:55 +02:00
|
|
|
variable "hcloud_server_under_test_type" {
|
2022-07-14 02:56:08 +02:00
|
|
|
description = "vServer type name, lookup via `hcloud server-type list`"
|
|
|
|
type = string
|
2022-07-14 05:00:55 +02:00
|
|
|
default = "cx31"
|
2022-07-14 02:56:08 +02:00
|
|
|
}
|
|
|
|
|
2022-07-14 05:00:55 +02:00
|
|
|
variable "hcloud_server_tester_type" {
|
|
|
|
description = "vServer type name, lookup via `hcloud server-type list`"
|
2022-07-14 02:56:08 +02:00
|
|
|
type = string
|
2022-07-14 05:00:55 +02:00
|
|
|
default = "cx11"
|
2022-07-14 02:56:08 +02:00
|
|
|
}
|
|
|
|
|
2022-07-14 05:00:55 +02:00
|
|
|
variable "hcloud_server_under_test_name" {
|
2022-07-14 02:56:08 +02:00
|
|
|
description = "Name of the server"
|
|
|
|
type = string
|
|
|
|
default = "www1"
|
|
|
|
}
|
|
|
|
|
2022-07-14 05:00:55 +02:00
|
|
|
variable "hcloud_server_datacenter" {
|
|
|
|
description = "Desired datacenter location name, lookup via `hcloud datacenter list`"
|
2022-07-14 02:56:08 +02:00
|
|
|
type = string
|
2022-07-14 05:00:55 +02:00
|
|
|
default = "hel1-dc2"
|
2022-07-14 02:56:08 +02:00
|
|
|
}
|