Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Filter resources by tag key instead of value #606

Closed
klxfeiyang opened this issue Mar 4, 2021 · 1 comment
Closed

Filter resources by tag key instead of value #606

klxfeiyang opened this issue Mar 4, 2021 · 1 comment

Comments

@klxfeiyang
Copy link

klxfeiyang commented Mar 4, 2021

Is it possible to filter resources by a property's tag key instead of value? For example, I have a set of resources like the following:

us-east-2 - ELB - c1v0hazw0kr76c8gd2in9wr412dq-k8s - [tag:sigs.k8s.io/cluster-api-provider-aws/cluster/dev: "owned", tag:sigs.k8s.io/cluster-api-provider-aws/role: "apiserver"] - filtered by config

I'd like to filter the resources by something like:

      ELB:
        - property: 'tag'
          type: 'contains'
          key: 'dev'
          invert: true
@ekristen
Copy link
Contributor

Interesting idea. Tracking via ekristen/libnuke#77


Please see the copy of the notice from the README about the deprecation of this project. Sven was kind enough to grant me access to help triage and close issues and pull requests that have already been addressed in the actively maintained fork. Some additional information is located in the welcome issue for more information.

Caution

This repository for aws-nuke is no longer being actively maintained. We recommend users to switch to the actively maintained fork of this project at ekristen/aws-nuke.
We appreciate all the support and contributions we've received throughout the life of this project. We believe that the fork will continue to provide the functionality and support that you have come to expect from aws-nuke.
Please note that this deprecation means we will not be addressing issues, accepting pull requests, or making future releases from this repository.
Thank you for your understanding and support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants