Anyone happen to have a script that will look for ...
# help
g
Anyone happen to have a script that will look for any resources on your aws account not linked to any cloudformation stack? Have quite a bit of stuff especially SQS queues I want to clean up but want to find what else it kept around
f
Not sure if this helps. Assuming all CFN resources are all tagged, and the orphaned resources are not, you can use Tag Editor to list all untagged resources.
j
this is what I do, from what I can tell tags are being added to all my resources automatically
g
Wouldnt they still be tagged because they skipped deletion?
Hmm so just checked some resources it does remove the tags but others it doesn't
j
good to know, I was wondering how it was clearing them, but so far I’ve only seen it successfully clear them