The AWS CloudFormation supports YAML for state machine defintion, but my CloudFormation cannot deployed if it contains null values in YAML documents.
On the other hand, the ResultPath must be null to discard the result and keep the original input for any state.
Is there any way that I can use YAML for AWS CloudFormation while using null values in the YAML document?
p.s. I found a similar question but this is about CDK not CloudFormation.