terraform fmt
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 40s

This commit is contained in:
MichaelFisher1997 2025-04-17 22:28:45 +01:00
parent 93d3f94100
commit 70b9b5e5b7
2 changed files with 3 additions and 4 deletions

View File

@ -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
}
}

View File

@ -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}