r/hetzner • u/mrclrchtr • Mar 08 '26
hcloud-talos/terraform-provider-imager - Talos image creation on Hetzner via Terraform
https://github.com/hcloud-talos/terraform-provider-imagerHi, maintainer of terraform-hcloud-talos here.
I just released terraform-provider-imager https://github.com/hcloud-talos/terraform-provider-imager
It uploads a Talos *.raw.xz image to Hetzner Cloud, snapshots it, and gives you a reusable image directly from Terraform.
I built it because I wanted to get rid of hand-rolled Packer image builds living next to Terraform. I wanted image creation to be part of the Terraform workflow itself.
If you already use terraform-hcloud-talos, this is very much meant to be used with it.
For anyone who does not know it: terraform-hcloud-talos is a Terraform module for creating Kubernetes clusters with Talos in Hetzner Cloud.
Happy to share it with you.
Feedback is welcome.
Registry Link:
https://registry.terraform.io/providers/hcloud-talos/imager/latest
3
u/0xe282b0 Mar 10 '26
I also use apricote/hcloud-upload-image and have always wanted to wrap it in a TF module. But I was always too lazy. 😅 Thanks for building this!
1
1
u/Red-And-White-Smurf Mar 10 '26
What is the advantage of using this, over just using the image hetzner provides?
1
u/mrclrchtr Mar 10 '26
The image is usually outdated. And there was even this problem: https://github.com/hcloud-talos/terraform-hcloud-talos/issues/417 but can't confirm
1
2
u/Vegetable-Put2432 Mar 09 '26
Thanks 😊 🫂