skip to Main Content

We have lots of Lambda functions in our AWS account which was created by ex-employees.
I have to get a list of Lambdas which were not used in the last six months and delete them.
Also, how can I find out if there are any dependent objects on those Lambdas?
Thanks in advance.

2

Answers


  1. How about automating this task through a script and this will save your time in future as well. This is one of the very well written blog along with the solution. Give it a try
    https://aws.amazon.com/blogs/mt/automating-the-discovery-of-unused-aws-lambda-functions/

    Login or Signup to reply.
  2. You can take a look at this open-source repository on github.

    They are creating an open-source framework for writing Runbooks using Jupyter notebooks.

    This repo has a pre-built actions to find AWS lambdas that have a high error rate, are timing out etcetera. I think it has one for finding unused lambdas too. Instead of writing the script, you can have it in one runbook. Sharing this as it helped me with some of my automations. 🙂

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search