check-instance-health.rb --filter not working
ChrisMKinsella opened this issue · comments
ChrisMKinsella commented
When I run:
check-instance-health.rb --filter 'Name=tag:Name,Values=container-host-large-prod-0' --aws-region eu-central-1
The filter tag is ignored so it returns ALL instances with failing status checks in the Account.
CheckInstanceEvents CRITICAL: 2 instances have: i-0450xxxx6d9c2da13 has failed instance status checks,i-059eexxxa54f79ea6 has failed instance status checks```
I have tried the --filter tag with these variations with the same result:
'Name=tag:Name,Values=container-host-large-prod-0'
"Name=tag:Name,Values=container-host-large-prod-0"
Name=tag:Name,Values=container-host-large-prod-0