by anticristi · 4y ago · 0 comments
Beautiful summary.
For resources with flexible tags, one could easily imagine tags like Kubernetes's:
terraform.io/name
terraform.io/instance
However, for tag-less resources you have no choice but to store state to map real-world IDs with what is in the config.I wish Terraform "tried harder" to avoid state when it can be avoided. Perhaps it could introduce some soft state, where deleted resources are refreshed by looking at tags and not state.
I do everything with Terraform so I'm not super familiar with either of them. But teams are free to choose their poison.