This commit is contained in:
Héctor Molinero Fernández
2020-01-30 21:33:16 +01:00
parent 1abc1d8631
commit 26b9228cf7
21 changed files with 123 additions and 40 deletions

42
terraform/variables.tf Normal file
View File

@@ -0,0 +1,42 @@
variable "hcloud_api_token" {
type = string
description = "Hetzner Cloud API token"
}
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"
}