Re:Terraform should have remained stateless
by NovemberWhiskey on Saturday May 28, 2022 @01:06AM
(#31537760)
That seems like madness to me: YAML? Really? Is this some variant of K8s Stockholm syndrome?
It's always seemed to me that one of the virtues of Terraform was that the language was just declarative, and rich enough to express what you needed without becoming a Turing tarpit.
Re:Terraform should have remained stateless
by x86_64Ubuntu on Saturday May 28, 2022 @12:13AM
(#31537557)
>... want the description of my infrastructure to be a single, or set of text files, written preferably in JSON or YAML
That's CloudFormation, there is a reason that people migrated away from it.
Have you tried Pulumi? You can use TypeScript, Python, C#, Go, Java, YAML etc to define your infrastructure.
Almost all Terraform providers are ported to Pulumi or have Pulumi-native alternatives.
What I could never wrap my head around was why the heck the tools had to expose so much complexity. I want the description of my infrastructure to be a single, or set of text files, written preferably in JSON or YAML like everything else, and I want to run a command that behaves in the same way as GNU make.