From 60f70d3fd8d55d5e77c01f4b1e22a3788dbe300a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 11 Nov 2022 21:50:45 +0100 Subject: [PATCH] feat: add option to set hcloud server user_data --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index d064622..9b4f056 100644 --- a/main.tf +++ b/main.tf @@ -36,6 +36,7 @@ resource "hcloud_server" "server" { ssh_keys = var.server_keys backups = try(each.value.backups, false) keep_disk = try(each.value.keep_disk, false) + user_data = try(each.value.user_data, null) placement_group_id = each.value.placement_group lifecycle {