3 ms·
I'm most familiar with AWS, but I assume Azure and GCP have similar features. Use some tag unique to the project and tag all resources on creation. When deleti
by shepherdjerred 4y ago
I'm most familiar with AWS, but I assume Azure and GCP have similar features.
Use some tag unique to the project and tag all resources on creation. When deleting resources delete everything not in your stack that has the tag. You can find these resources using the provider's tagging APIs, e.g. https://aws.amazon.com/blogs/aws/new-aws-resource-tagging-api/ https://aws.amazon.com/blogs/aws/new-aws-resource-tagging-ap...
- NovemberWhiskey 4y agoThat probably does help; I still feel like you're going to end up sacrificing a lot of the drift-detection capabilities as well though - like unless you know a priori what the default values of every optional parameter are, how do you know whether the values in your resources are "correct"?
- InvertedRhodium 4y agoThere are quite a few AWS resources that don't support tags.