Terraform for the VMs and Ansible for the config are already paying off.

I took my old Ansible playbook that initialized a cluster, joined the other control plane nodes, and then joined two workers which all still works.

Now the really fun part comes about configuring the cluster entirely with some tool, which I might go back to Terraform for. I know I'll want to configure a CNI to start, and kube-vip for the control plane nodes, then I'll be able to get some workloads going.

#homelab #kubernetes #ansible #terraform #infrastructureascode #pipelines

Site Reliability Engineer - Platform Infrastructure Engineering at ID.me

ID.me is hiring Site Reliability Engineer - Platform Infrastructure Engineering

TIL the existence of the lifecycle postcondition on terraform to ensure that a configured data source has an expected value in its outputs https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle#postcondition #terraform
lifecycle meta-argument reference | Terraform | HashiCorp Developer

How to configure the lifecycle meta-argument rules in Terraform--create_before_destroy, prevent_destroy, ignore_changes, replace_triggered_by, precondition, postcondition, destroy

lifecycle meta-argument reference | Terraform | HashiCorp Developer
Software Engineer at Twilio

Twilio is hiring Software Engineer

@angst_ridden Oh, I am full on (30 year career in infosec and infra), #terraform , #ansible, #argocd, #gha (unfortunately because I hate it), #python and #golang Staff CloudOps Engineer.

My OP was just me bitching about it.

My cool task today is setting up a #capev2 server for #vuln and #mal testing.

I'm exploring how to handle the cluster creation now that I can provision nodes on demand and it seems to be the easiest way will be to use Ansible.

I already have a playbook for that (which is great) I'll just need to adjust it to the new inventory and configurations. Should be easy enough?

From there, I think I'll figure out how I want to deploy resources in some idempotent manner. This is where Terraform might come back into play.

I also want to work on testing new versions of containers in a dev space as well as restoring from backups for my more important data, but that's an issue for another month.

#homelab #kubernetes #terraform #ansible #infrastructureascode

Terraform: más allá de la sintaxis HCL en 2026

¿Sabés HCL pero tu infraestructura explota en producción? Aprender Terraform más que sintaxis: estado, módulos y GitOps real explicados sin vueltas.

https://donweb.news/aprender-terraform-mas-que-sintaxis/

#terraform #devops #infrastructureascode #gitops #aws

Terraform: más allá de la sintaxis HCL en 2026

Estado, módulos y blast radius: lo que los cursos de Terraform no te enseñan pero necesitás saber para trabajar en producción.

DonWeb News

OpenTofu continua a crescere come piattaforma Infrastructure as Code open source compatibile con Terraform. Nuove funzioni semplificano multi-cloud, sicurezza e gestione dei provider. #OpenTofu #Linux #DevOps #CloudComputing #Terraform #InfrastructureAsCode

https://www.linuxeasy.org/opentofu-automazione-sicurezza-gestione-cloud-semplificata/?utm_source=mastodon&utm_medium=jetpack_social

OpenTofu punta su automazione, sicurezza e gestione cloud semplificata

OpenTofu è l’alternativa open source a Terraform sotto Linux Foundation con nuove funzioni per sicurezza, automazione e gestione cloud.

Linux Easy

Of course, things like this are easy with Terraform. Here’s an inventory/config, go make it. This post was more about avoiding sunk cost fallacy with clusterctl.

I even added Terraform configuring the DNS entries for the 5 nodes and figured that was enough for tonight.

#homelab #terraform #kubernetes #infrastructureascode #automation

Gave up on using clusterctl for the time being, figured out I can get a lot further with Terraform and the template from image-builder (with some minor modifications).

In just over an hour, I already have Terraform provisioning 5 empty VMs preinstalled with the software I need. I'm 99% sure there are ways to provision k8s clusters in Terraform so I don't need to reinvent that wheel. Here are 3 control plane nodes, and 2 worker nodes, go build it.

The only change I had to make with the image-builder template was to re-add a cloud-init disk.

#homelab #terraform #kubernetes #infrastructureascode #automation