awslabs / statelint

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wait state with ResultPath passes validation

milancermak opened this issue · comments

I had a "Type": "Wait" state with "ResultPath": null. The statelint didn't throw any error, but when I tried to create this state machine in the Step Function console, I got the following error:

Error code: SCHEMA_VALIDATION_FAILED
Message: Field ResultPath not allowed. 

I think statelint should identify this issue too.

I think you're right.

Fixed.