Module: Jets::Commands::Clean
- Defined in:
- lib/jets/commands/clean/log.rb,
lib/jets/commands/clean/build.rb,
lib/jets/commands/clean/base.rb
Overview
The thing that limits this implementation is that there needs to be at least one lambda function created from an internal jets function. Example:
/aws/lambda/demo-dev-2-jets-preheat_job-warm
/aws/lambda/demo-dev-2-jets-public_controller-show
We’re doing this because Jets.extra environments can create additional matching log groups and we don’t want to overly-aggressively delete them.
The ‘keep_prefixes(log_group_names)` method calcuates the log groups to keep.