3 ms·
How would TF work without state and without tags? Let's say your TF config declares a database Foo. Your AWS account has databases Foo and Bar. How does TF kno
by ntoskrnl 4y ago
How would TF work without state and without tags?
Let's say your TF config declares a database Foo. Your AWS account has databases Foo and Bar. How does TF know whether it's responsible for database Bar and whether to delete it?
- Aeolun 4y agoResource is tagged with “terraform stack x created this”?
- cassianoleal 4y agoInteresting. Disregarding for a moment that not all cloud resources supporting tags on all cloud providers (and let's not get started with all the non-cloud stuff Terraform is capable to manage), how does tf know that `stack x` is the thing that's currently running?
- gtirloni 4y agoBy the time the tag has enough information to be useful, you are storing a TF state file in a tag. Anyway, I don't think people complaining about a s3 bucket for tf state actually has experience creating tools like tf.
- ntoskrnl 4y agoThe parent said he thinks tags aren't the right approach. I wanted to know what he proposes instead.