Skip to content

check-instance-health.rb --filter not working #357

Description

@ChrisMKinsella

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions