From 50ae59602c66f18b31185dedafb1af4b33013aac Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 17 Apr 2025 20:03:28 +0100 Subject: [PATCH] terraform fmt --- terraform/files/cloud_init_base.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 terraform/files/cloud_init_base.yaml 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 +