Skip to content

Commit

Permalink
🔨 Add script for deleting old lambda function versions
Browse files Browse the repository at this point in the history
  • Loading branch information
obecker committed Feb 16, 2024
1 parent 385c3d3 commit 03997a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/scripts/cleanup-lambda.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
# see https://github.com/karl-cardenas-coding/go-lambda-cleanup
docker run -e AWS_ACCESS_KEY_ID="$(aws configure get aws_access_key_id)" -e AWS_SECRET_ACCESS_KEY="$(aws configure get aws_secret_access_key)" ghcr.io/karl-cardenas-coding/go-lambda-cleanup:2.0.12 clean -r "$(aws configure get region)"

0 comments on commit 03997a2

Please sign in to comment.