News for hackers. Stuff that matters.
Re:Pyinfra: Automate Infrastructure Using Python by OJFord on Tuesday April 30, 2024 @04:41PM (#40216075)
Eh, any way you do it could leave it in an unfinished state if interrupted, I'm not too bothered about that. (But it does sound like you think I was speaking in favour of doing it in a procedural python script sort of way? I was not.)

Packer and Terraform do different jobs (they're both by Hashicorp!) - you can bake an immutable image all you like, you still need to get a server, put the image on it, give it that S3 bucket it needs, IAM, etc.

Re:Pyinfra: Automate Infrastructure Using Python by jacobr1 on Tuesday April 30, 2024 @10:21PM (#40218855)
They work together to produce immutable cattle. The alternative is managing a pool of servers where you are doing things like in-place patch upgrades, vs a teardown of the old infra and replacing it with the newly baked servers.
Re:Pyinfra: Automate Infrastructure Using Python by OJFord on Wednesday May 01, 2024 @05:12AM (#40221056)
I'm well aware, I just don't see what 'use Packer' has to do with choice of programming paradigm for Terraform or other tool in that role.