terraform fmt
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 40s
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 40s
This commit is contained in:
parent
93d3f94100
commit
70b9b5e5b7
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user