5 ms·
No because the metadata on the deleted resource is now lost. With the information being stored outside the resource, we know that it was deleted and the metada
by kkdaemas 4y ago
No because the metadata on the deleted resource is now lost.
With the information being stored outside the resource, we know that it was deleted and the metadata about it.
- usrn 4y agoThat's not state information though, that's metadata.
- pharmakom 4y agoIf some state information is stored using metadata then we need that metadata to know the total state. The contents of TF state is more than what can be read from the provider APIs often.
- mountainriver 4y agoYeah but the extra stuff they add is a trade off and lots of people would rather not have two sources of truth to have it
- rad_gruchalski 4y agoMost of the people I know who use Terraform use Terraform as the source of truth.
- usrn 4y agoYou can wish things are a certain way but that doesn't change reality no matter how nice that would be.
- rad_gruchalski 4y agoSeen this many times. People using a tool in an unintended manner and then bashing the tool.
- mountainriver 4y agoHuh so you access your infra through terraform?
- tedivm 4y agoThis conversation is embarrassing for both of you.
- mountainriver 4y agoits super embarrassing if you thing TF is the source of truth when the cloud provider clearly is
- rad_gruchalski 4y agoMy infrastructure drifts from my source of truth.
- rad_gruchalski 4y agoTell me more please. There’s always something new to learn.
- rad_gruchalski 4y agoThrough an API, really.