From 38426c091e4f856a7cd180502e436e369c4d6cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Wed, 2 Mar 2022 20:43:36 +0100 Subject: [PATCH] Format --- terraform/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 128e3f3..719e38d 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" version = "~> 1.32.1" } } @@ -68,7 +68,7 @@ resource "hcloud_server" "wg_server" { labels = { service = "wireguard" } firewall_ids = [hcloud_firewall.wg_firewall.id] ssh_keys = [hcloud_ssh_key.wg_ssh_key.id] - user_data = templatefile("${path.module}/templates/user-data.tpl", { + user_data = templatefile("${path.module}/templates/user-data.tpl", { wg_server_wg_privatekey = var.wg_server_wg_privatekey wg_server_wg_peer_publickeys = var.wg_server_wg_peer_publickeys })