-
Notifications
You must be signed in to change notification settings - Fork 33
OPSEXP-3170 Add workflow to cleanup AWS MQ configuration leftovers #1229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pmacius
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you didn't enable pre-commit on this repo pre-commit install. Run this command and next time you commit it will run the pre-commit. If you have no changes you can still trigger it by pre-commit run --all-files
ad26690 to
1ac5cfc
Compare
1ac5cfc to
3c5ee85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a GitHub Action workflow to automatically clean up stale AWS MQ configurations to prevent resource accumulation. The workflow targets configurations with specific naming patterns that are older than 30 days and not actively in use.
- Implements automated cleanup of
molecule-*prefixed MQ configurations older than 30 days - Includes safety checks to prevent deletion of configurations attached to active brokers
- Provides dry-run capability for safe testing and schedules monthly execution
Related Issue
OPSEXP-3170
Summary
This PR introduces a GitHub Action to automatically clean up AWS MQ configurations that:
molecule-Note:
We are using .LatestRevision.Created field to check the age and take delete accordingly.