rundeck-plugins / rundeck-ec2-nodes-plugin

Get resource node data from Amazon EC2
85 stars 45 forks source link

Filter Params Or Operator? #71

Open ManiacalShawn opened 7 years ago

ManiacalShawn commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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