mlevit / aws-auto-cleanup

Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
MIT License
495 stars 55 forks source link

Wildcard match #118

Closed mlevit closed 2 years ago

mlevit commented 2 years ago

Description

Added wildcard support to allowlist resource ID. Comparisons are now performed using the fnmatch Python module. The following special characters can be used:

Pattern Meaning
* matches everything
? matches any single character
[seq] matches any character in seq
[!seq] matches any character not in seq

Related issue(s) (if applicable)