aws-cleaner
aws-cleaner copied to clipboard
Make executing each component config driven
I think there is value in being able to use this tool even without sensu or chef, I'd like to propose we only run each component if the config specifies we should. To avoid a breaking change we could default to still considering sensu and chef default but allow explicit disabling. If this sounds good I will create a PR when I have some time.
EDIT: adding checklist
- [x] sensu
- [ ] chef
I think that would be good. Have an enable
boolean on chef, sensu, etc like there is on the chat options.
Ya that was my thought, I am gonna work on doing this just for sensu right now as chef is currently very tightly coupled and all my current use cases involve chef even if not sensu. When someone wants to add support for another CM tool we can use that opportunity to add the same for chef.