Hacker News new | ask | show | jobs
by kkdaemas 1488 days 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.

1 comments

That's not state information though, that's metadata.
If 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.
Yeah 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
Most of the people I know who use Terraform use Terraform as the source of truth.
You can wish things are a certain way but that doesn't change reality no matter how nice that would be.
Seen this many times. People using a tool in an unintended manner and then bashing the tool.