aws-samples / aws-batch-runtime-monitoring

Serverless application to monitor an AWS Batch architecture through dashboards.
MIT No Attribution
58 stars 16 forks source link

Json Path search expression syntax is not correct #6

Closed perifaws closed 3 years ago

perifaws commented 3 years ago

The filter expression in two of the state machines is not correct due to missing simple quotes around the searched strings.

The original code

"$$.Execution.Input.detail.responseElements.containerInstance.attributes[?(@.name==ecs.availability-zone)].value"

What is should look like:

"$$.Execution.Input.detail.responseElements.containerInstance.attributes[?(@.name=='ecs.availability-zone')].value"