Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Params Or Operator? #71

Open
ManiacalShawn opened this issue Jun 16, 2017 · 2 comments
Open

Filter Params Or Operator? #71

ManiacalShawn opened this issue Jun 16, 2017 · 2 comments

Comments

@ManiacalShawn
Copy link

ManiacalShawn commented Jun 16, 2017

I've been playing around w/ this, but is there not some sort of OR operator present?

Example:
tag:KEY:Tag1,Tag2,Tag3,etc.

I am trying to achieve functionality like in the aws ec2 CLI.
Example:
aws ec2 describe-instances --filter "Name=tag:Key, Values=Tag1,Tag2,Tag3"

Perhaps the syntax isn't very clear to me? I'm aware w/ ; you can apply filters on top of one another.

Or is this something typically solved w/ multiple resource sources each w/ different filters?

I would appreciate any help/enlightenment.

@gschueler
Copy link
Member

it could be enhanced to split the values on , and add multiple values, currently it does not.

the workaround is to define multiple sources

@ManiacalShawn
Copy link
Author

Thanks for the response! Sounds like a nice-to-have addition if anyone has the time. For now I'll follow the workaround.

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

No branches or pull requests

2 participants