Re:Terraform should have remained stateless
by ntoskrnl on Saturday May 28, 2022 @08:18AM
(#31539737)
Terraform can be used to manage TXT records too. Where does it store metadata for them? Or is it TXT all the way down?
Re:Terraform should have remained stateless
by NateEag on Saturday May 28, 2022 @11:09AM
(#31540904)
You can have multiple TXT records for a given domain name, so it would be possible to store an arbitrary amount of metadata for whatever systems you desire, and just loop through the TXT records to figure out which ones are for the current system's purpose.
Re:Terraform should have remained stateless
by gtirloni on Saturday May 28, 2022 @08:14AM
(#31539713)
Exposed to the world?
Re:Terraform should have remained stateless
by NateEag on Saturday May 28, 2022 @11:12AM
(#31540918)
I guess that's not ideal, though I'm not clear what attack surface area is increased by storing creation/ deletion metadata in public.
I guess it lets an attacker know that you're using Terraform, which might help them target their attacks.
Re:Terraform should have remained stateless
by bpicolo on Saturday May 28, 2022 @11:25AM
(#31541010)
Terraform stores secrets in state. Generated database password, etc.
https://en.m.wikipedia.org/wiki/TXT_record