Skip to content

v1.0.0

Compare
Choose a tag to compare
@oguzhan-yilmaz oguzhan-yilmaz released this 15 Jul 16:19
· 1 commit to main since this release

aws-jmespath-utils

This is a custom JMESPath function to filter & exclude AWS resources by Tags.

Installation

pip3 install aws_jmespath_utils

Usage

from aws_jmespath_utils import jmespath_options

# filtering
jmespath.search('[] | filter_tags(`["Name=*"]`, @)', data_list, options=jmespath_options),

# excluding
jmespath.search('[] | exclude_tags(`["Nam*="]`, @)', data_list, options=jmespath_options),

PyPi

PyPi package: https://pypi.org/project/aws-jmespath-utils/

Thanks!