This service will help you detect resources created in your AWS account that are not being used. Currently, the only output is a list of resources in the console. Future versions will support different types of output, making possible to integrate the output with automation tools.
-
You must have Go 1.17+ installed in your machine. Follow these instructions to install it.
-
You must have AWS-CLI installed and configured too. Follow these instructions to install it.
Go to the source folder, and type the following command
go build -o fh
This program will get the credentials that are your .aws folder to communicate with AWS services.
The following services are available
This service checks if there is empty buckets in your account (it will only look for buckets that are in the same region configured in your AWS-CLI)
./fh s3
This service returns a list of all functions that are not invoked in the past 7 days.
./fh lambda
The next features are:
- Test: add test to the known features
- SQS: list idle queues
- Output JSON: export the result to a JSON file to make it easy to integrate with automation tools