{"id":13449379,"url":"https://github.com/epsagon/list-lambdas","last_synced_at":"2025-08-20T20:32:04.143Z","repository":{"id":28684401,"uuid":"119053680","full_name":"epsagon/list-lambdas","owner":"epsagon","description":"Enumerate Lambda functions across all regions with useful metadata 💡💵⚙","archived":false,"fork":false,"pushed_at":"2022-02-21T11:16:26.000Z","size":259,"stargazers_count":187,"open_issues_count":1,"forks_count":38,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-07T20:48:56.512Z","etag":null,"topics":["aws-lambda","devops","devops-tools","epsagon","lambda","serverless","serverless-functions"],"latest_commit_sha":null,"homepage":"https://epsagon.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epsagon.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-26T13:18:49.000Z","updated_at":"2024-08-13T13:01:53.000Z","dependencies_parsed_at":"2022-08-07T14:00:33.767Z","dependency_job_id":null,"html_url":"https://github.com/epsagon/list-lambdas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epsagon/list-lambdas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epsagon%2Flist-lambdas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epsagon%2Flist-lambdas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epsagon%2Flist-lambdas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epsagon%2Flist-lambdas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epsagon","download_url":"https://codeload.github.com/epsagon/list-lambdas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epsagon%2Flist-lambdas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","devops","devops-tools","epsagon","lambda","serverless","serverless-functions"],"created_at":"2024-07-31T06:00:36.725Z","updated_at":"2025-08-20T20:32:03.804Z","avatar_url":"https://github.com/epsagon.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"List Lambdas functions\n=====================\n\n.. image:: https://github.com/epsagon/list-lambdas/blob/master/list-lambdas.png\n   :align: center\n\n(Based on `photo \u003chttps://commons.wikimedia.org/wiki/File:AWS_Lambda_logo.svg\u003e`_ by Valve Software / `CC BY-SA 4.0 \u003chttps://creativecommons.org/licenses/by-sa/4.0/deed.en\u003e`_)\n\n\n\n\n\nMotivation\n----------\n- Read our blog post, `\"The curse of dead Lambda functions\" \u003chttps://epsagon.com/tools/the-curse-of-dead-aws-lambda-functions/\u003e`__.\n- Enumerate list of Lambda functions from **every region**.\n- Detect **\"dead\"** or unused Lambda functions.\n\n\nSetup\n-----\n.. code-block:: bash\n\n    git clone https://github.com/epsagon/list-lambdas\n    cd list-lambdas/\n    pip install -r requirements.txt\n    python list_lambdas.py\n\nDocker\n-----\n.. code-block:: bash\n\n    git clone https://github.com/epsagon/list-lambdas\n    cd list-lambdas/\n    docker build -t list_lambdas:latest .\n    docker run --rm -v $HOME/.aws:/root/.aws -t list_lambdas:latest --profile myprofile\n\n\nExample Outputs\n---------------\n\nCLI:\n\n.. image:: https://github.com/epsagon/list-lambdas/blob/master/examples/cli.png\n\nCSV file:\n\n.. image:: https://github.com/epsagon/list-lambdas/blob/master/examples/csv.png\n\n\nUsage\n-----\n\nFilter only Lambda functions that have not been active in the last 10 days:\n\n.. code-block:: bash\n\n    python list_lambdas.py --inactive-days-filter 10\n\nPrint extended information to the screen (same as in the CSV file):\n\n.. code-block:: bash\n\n    python list_lambdas.py --all\n\nSort by a chosen column (e.g. by last invocation time):\n\n.. code-block:: bash\n\n    python list_lambdas.py --sort-by last-invocation\n\nOutput table (**with extra data**) to a CSV file:\n\n.. code-block:: bash\n\n    python list_lambdas.py --csv lambdas.csv\n\nProvide credentials:\n\n.. code-block:: bash\n\n    python list_lambdas.py --token-key-id \u003caccess_key_id\u003e --token-secret \u003csecret_access_key\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepsagon%2Flist-lambdas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepsagon%2Flist-lambdas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepsagon%2Flist-lambdas/lists"}