freckle/aws-s3-lock

Wait on, acquire, and clean-up S3-based locks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
bucketName of an existing S3 bucket to use. yes
nameName for the lock object. Include any prefix you want within the bucket. The key will be built as "name.created.uuid.expires". ${{ github.workflow }}/${{ github.job }}
expiresHow long before concurrent operations consider this lock expired. 15m
timeoutHow long to wait for the lock to become available. Default matches expires. no
timeout-pollHow long to wait between attempts for the lock. Default is 5s. 5s
contextAdditional context to write as the body of the lock file. Concurrent operations waiting on this lock will display it.${{ github.workflow }} #${{ github.run_number }}
namedescription
keyKey of the S3 object representing the lock
acquired-atTimestamp the lock was acquired