Route53 Cleaner
Suggests records that could be deleted from your AWS Route53 hosted zones.
Install
Via homebrew (macOS only):
$ brew install caarlos0/tap/route53-cleaner
Via go get:
$ go get github.com/caarlos0/route53-cleaner
Manually
Download the latest release,
extract it and execute the route53-cleaner
binary.
Usage
Just running it will show a list of records you may remove:
$ route53-cleaner
How it works
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).
Auth
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.
Contributing
Please refer to our contributing guidelines.