Files
TerraHome/terraform/files/cloud_init_global.tpl
MichaelFisher1997 17834b3aa7
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
update: rotate SSH access via cloud-init secret
Inject SSH public key through Terraform/cloud-init from Gitea secret so access can be rotated without rebuilding the template image.
2026-02-28 12:36:20 +00:00

16 lines
245 B
Smarty

#cloud-config
hostname: ${hostname}
manage_etc_hosts: true
resolv_conf:
nameservers:
- 8.8.8.8
- 1.1.1.1
preserve_hostname: false
fqdn: ${hostname}.${domain}
users:
- name: micqdf
ssh_authorized_keys:
- ${SSH_KEY_PUBLIC}