Skip to content

diegobcaetano/frugal-hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frugal-Hero

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.

Requirements

  1. You must have Go 1.17+ installed in your machine. Follow these instructions to install it.

  2. You must have AWS-CLI installed and configured too. Follow these instructions to install it.

Installing

Go to the source folder, and type the following command

go build -o fh

Running

This program will get the credentials that are your .aws folder to communicate with AWS services.

The following services are available

S3

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

Lambda

This service returns a list of all functions that are not invoked in the past 7 days.

./fh lambda

Roadmap

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages