diff --git a/terraform/files/cloud_init.yaml b/terraform/files/cloud_init.yaml new file mode 100644 index 0000000..a4d9277 --- /dev/null +++ b/terraform/files/cloud_init.yaml @@ -0,0 +1,9 @@ +#cloud-config +hostname: ${hostname} +fqdn: ${hostname}.${domain} + +runcmd: + - curl -fsSL https://tailscale.com/install.sh | sh + - tailscale up --auth-key=${TS_AUTHKEY} + - tailscale set --ssh +