Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a work in progress. Please feel free to use, or contribute to this PR to make it suitable for general use.
Feature: Send reminder message for locked resources
This is a Lambda function that reminds users periodically if they have any active Lockbot locks.
It works by getting the list of active locks from the Lockbot database, and parsing the data to
determine if a user has had an active lock for more than a configured amount of time; for each such
user, it sends them a private reminder message on Slack.
This function is triggered by a timer so that it runs at a regular interval.
NOTE: This function does not store any record of whether a user has already been reminded, so it
must be scheduled to run at an interval that is frequent enough to notify a user within a reasonable
amount of time of the configured threshold, while also not sending reminders too frequently.
Closes #49