2020-01-30 21:33:16 +01:00
|
|
|
variable "hcloud_api_token" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "Hetzner Cloud API token"
|
2021-06-14 22:49:37 +02:00
|
|
|
default = ""
|
2020-01-30 21:33:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "wg_server_name" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "Server name"
|
2021-06-14 22:49:37 +02:00
|
|
|
default = "wireguard"
|
2020-01-30 21:33:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "wg_server_type" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "Server type"
|
2021-06-14 22:49:37 +02:00
|
|
|
default = "cx11"
|
2020-01-30 21:33:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "wg_server_location" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "Server location"
|
2021-06-14 22:49:37 +02:00
|
|
|
default = "fsn1"
|
2020-01-30 21:33:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "wg_server_ssh_publickey" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "SSH public key"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "wg_server_ssh_publickey_name" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "SSH public key name"
|
|
|
|
}
|
|
|
|
|
2021-06-14 22:51:25 +02:00
|
|
|
variable "wg_server_wg_privatekey" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = string
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "WireGuard private key"
|
|
|
|
}
|
|
|
|
|
2021-06-14 22:51:25 +02:00
|
|
|
variable "wg_server_wg_peer_publickeys" {
|
2021-06-14 22:49:37 +02:00
|
|
|
type = list(string)
|
2020-01-30 21:33:16 +01:00
|
|
|
description = "WireGuard peer public keys"
|
|
|
|
}
|