Replies: 2 comments
-
It's not clear from the AWS docs if they support inline JSON objects. See their documentation here. The examples they provide show referencing the arguments to the function from the state as opposed to providing an inline object. I believe I coded the rules for the asl-path-validator lib to only accept JSON path arguments to this function. The real test as to whether it works or not is if AWS accepts it and it behaves as expected. I wouldn't trust their offline emulator for this. Try it for real in a deployed function and see what the results are. If it works as expected in AWS, then I can revisit the grammar for the asl-path-validator and support inline JSON but I'm skeptical that this is something AWS will accept. |
Beta Was this translation helpful? Give feedback.
-
Not sure why but they don't, it appears! |
Beta Was this translation helpful? Give feedback.
-
I've not managed to find much in asl-validator or the aws docs on whether something like the following should be considered legit:
But it appears to be providing a generic error message:
SCHEMA_VALIDATION_FAILED: Name/Parameters/Input/context.$ is invalid. must match format "asl_payload_template"
Is this actually invalid?
Beta Was this translation helpful? Give feedback.
All reactions