From 70b9b5e5b7393a95e4410c190f34532a30d82b34 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 17 Apr 2025 22:28:45 +0100 Subject: [PATCH] terraform fmt --- terraform/cloud-init.tf | 4 +++- terraform/files/cloud_init_base.yaml | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/terraform/cloud-init.tf b/terraform/cloud-init.tf index 5da7d32..18bffae 100644 --- a/terraform/cloud-init.tf +++ b/terraform/cloud-init.tf @@ -1,9 +1,11 @@ ### Global cloud-init template (for all VMs) data "template_file" "cloud_init_global" { - template = file("${path.module}/files/cloud_init_base.yaml") + template = file("${path.module}/files/cloud_init_global.yaml") vars = { + hostname = "generic" + domain = "home.arpa" TS_AUTHKEY = var.TS_AUTHKEY } } diff --git a/terraform/files/cloud_init_base.yaml b/terraform/files/cloud_init_base.yaml index a4d9277..10c89e6 100644 --- a/terraform/files/cloud_init_base.yaml +++ b/terraform/files/cloud_init_base.yaml @@ -1,7 +1,4 @@ #cloud-config -hostname: ${hostname} -fqdn: ${hostname}.${domain} - runcmd: - curl -fsSL https://tailscale.com/install.sh | sh - tailscale up --auth-key=${TS_AUTHKEY}