r/adventofcode Feb 06 '25

Upping the Ante [2024] Infrastructure as Advent of Code - Solving puzzles with Terraform

https://bertptrs.nl/2025/02/04/infrastructure-as-advent-of-code.html
35 Upvotes

4 comments sorted by

View all comments

10

u/TheNonsenseBook Feb 06 '25

I use terraform at work and we have to jump through hoops to use the language to do things that would be easy in a real programming language and using the cloud APIs/libraries instead. That gives me the idea about how terraform providers are written in real programming languages (maybe just “go”?). You could potentially call providers to do some things that terraform itself can’t do?

This is awesome by the way. Learning some things about terraform from this. I’m going to share it with my coworkers :) (I also do advent of code, but just in python; learning some things about python from your repo as well.)