News for hackers. Stuff that matters.
Re:Terraform should have remained stateless by devit on Saturday May 28, 2022 @08:48AM (#31539916)
Or, you know, put an UUID in the configuration and tag everything with it so that it knows what it created by just querying the tag (or similarly, using a namespace if supported, or putting the information in the resource name itself if possible).
Re:Terraform should have remained stateless by vlunkr on Saturday May 28, 2022 @10:27AM (#31540578)
These arguments are just going in circles but here's why: You can't store metadata on every object in every provider, and often, resource names are restrictive in length and allowed characters. And what if something needs deleted? Now every time you run terraform you need to list every type of object the provider offers and check tags, that's a huge waste of time and bandwidth.
Re:Terraform should have remained stateless by ElectricalUnion on Saturday May 28, 2022 @10:19PM (#31545679)
> UUID in the configuration

If you turn the configuration into state, you don't need state anymore I guess?