Wait state with ResultPath passes validation
milancermak opened this issue · comments
Milan Cermak commented
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.
Tim Bray commented
I think you're right.
Tim Bray commented
Fixed.