Anyone know of a good tool or method to double-che...
# random
c
Anyone know of a good tool or method to double-check for orphaned AWS services/resources without having to manually check each one?
m
c
Thanks Mike, I’ll check it out
f
Most commonly resources can be orphaned in one of two ways: 1. manually created (not through CloudFormation) 2. created through CloudFormation, but retained on remove
You shouldn’t create resources manually, so #1 is easy to avoid.
For #2, I always set RemovalPolicy to
DESTROY
for non-production stages.
And the only thing that could be orphaned are the production resources that were previously removed. The scope is smaller enough to manage.
m
Good points. I think there might be more to the "orphan" story with rollbacks and failed rollbacks.
failed replacements
c
Thanks @Frank
c
Haven't done it myself but I would look at using AWS config, and then query for resources without stack tags