Summary
Support filtering resource lists by multiple tag conditions.
Motivation
--tag and :tag currently support a single tag condition. It would be useful to combine tags for common workflows, such as narrowing EC2 instances to prod bastion hosts.
Example
claws -s ec2 --tag Env=prod --tag Role=bastion
claws -s ec2 --tag Env=prod,Role=bastion
startup:
tags:
- Env=prod
- Role=bastion
Multiple tag conditions should be treated as AND filters.
Summary
Support filtering resource lists by multiple tag conditions.
Motivation
--tagand:tagcurrently support a single tag condition. It would be useful to combine tags for common workflows, such as narrowing EC2 instances to prod bastion hosts.Example
claws -s ec2 --tag Env=prod --tag Role=bastion claws -s ec2 --tag Env=prod,Role=bastion startup: tags: - Env=prod - Role=bastionMultiple tag conditions should be treated as AND filters.