wireguard-setup/terraform/variables.tf

44 lines
800 B
Terraform
Raw Normal View History

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