Suggests records that could be deleted from your AWS Route53 hosted zones.
$ brew install caarlos0/tap/route53-cleaner
$ go get github.com/caarlos0/route53-cleaner
Download the latest release,
extract it and execute the route53-cleaner
binary.
Just running it will show a list of records you may remove:
$ route53-cleaner
Route53 Cleaner scans several resources from your account and check your records against those resources addresses, compiling a list of records that might not be used.
These records are then printed to the user in an easy-to-pipe format.
Please note that Route53 Cleaner will never change anything in your account. You can check the code or give it read-only keys if you do not trust that affirmation (I won't blame you for that).
Either by having a ~/.aws/credentials
, ~/.aws/config
or the AWS_ACCESS_KEY_ID
and
AWS_SECRET_ACCESS_KEY
environment variables exported.
More info can be found in the aws-sdk-go documentation.
Please refer to our contributing guidelines.