## template: jinja #cloud-config write_files: - path: /var/www/html/index.html permissions: "0644" content: |

IaC-Lab (${environment})

Instanz: {{ v1.local_hostname }}

Region: {{ v1.region }}

runcmd: - [sh, -c, 'echo "

Image-Version: $(cat /etc/image-release)

" >> /var/www/html/index.html'] # Letzter Schritt: erst jetzt bekommt die Instanz Verkehr - [sh, -c, 'echo ok > /var/www/html/health'] final_message: "Bootstrap abgeschlossen nach $UPTIME Sekunden"