forked from aws-observability/aws-otel-collector
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Lambda Layer Version cleaner (aws-observability#2611)
* Initial commit to add layer cleaner * Print the layer ARNs for visibility and use ListLayersInput * Use Regex, type Pair for layer and version * Iterate on versions for that layer to delete every layer version * Modify variables usage * Remove extra fmt * Add comments for context * Fix fmt and comments * Add functionality to shouldDeleteLayer * Add regex as appropriate * Make it more generalized to match more * Remove NodeProxyAgentLayerand custom-config-layer form regex list
- Loading branch information
1 parent
ad9327f
commit 64b31fb
Showing
1 changed file
with
106 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters