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