{"repo":"karl-cardenas-coding/go-lambda-cleanup","free":true,"listed":false,"github":"https://github.com/karl-cardenas-coding/go-lambda-cleanup","clone":"git clone https://github.com/karl-cardenas-coding/go-lambda-cleanup.git","description":"🚧 go-lambda-cleanup - A solution for removing previous versions of AWS Lambdas","language":"Go","stars":98,"topics":["automation","aws","go"],"license":"MIT","category":"workflow-automation","readme_excerpt":"go-lambda-cleanup A Go based CLI for removing unused versions of AWS Lambdas. One binary, no additional dependencies required. Installation go-lambda-cleanup is distributed as a single binary. Download the binary and install go-lambda-cleanup in a directory in your system's PATH. /usr/local/bin is the recommended path for UNIX/LINUX environments. Docker go-lambda-cleanup is also available as a Docker image. Check out the GitHub Packages page for this repository to learn more about the available images. You can pass AWS credentials to the container through ENVIRONMENT variables. Nightly Release A nightly release is available as a Docker image. The nightly release is a snapshot of the main branch and automatically updated with the latest minor depedencies updates. Usage Versions Retention To retain previous version excluding $LATEST , use the -c flag. Use this flag to control the number of versions to retain. Additonal Lambda Details To view additional details, such as the Lambda names and version counts, set the -m flag to true. Lambda Aliases AWS disallows the deletion of Lambda versions that are attached to an alias. The default behavior of glc is to attempt to delete a Lambda version, regardless of whether it has an alias attachment. If a Lambda version is attached to an alias and glc attempts to delete the version, an error will occur, and the program will exit with a non-zero exit code. You can use the CLI flags --skip-aliases or -s to check the Lambda version for the exi","default_branch":null,"files":null,"tree":[],"storefront":"/r/karl-cardenas-coding","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/karl-cardenas-coding/go-lambda-cleanup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}