-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue: Fn::ToJsonString RFC #14
Comments
Hi have cases say it is not working at the moment
Stack will fail at the Transform stage with error "Transform AWS::LanguageExtensions failed with: Fn::ToJsonString resolve value type mismatch. Rollback requested by user." |
Hey @jiemying, To unblock you: EventPattern supports Json objects natively. There is no need to use Fn::ToJsonString for the EventPattern attribute. |
Hi, thx for coming back to me so promptly! Yep I am aware of that, that was for reference. The error happens at the Transform stage of the CloudFormation stack operation, no matter where I put the above test Fn::ToJsonString in the template's resources properties, the stack transform stage failed with the same error. I suspect the object "type" passed to this intrinsic function in the back-end, does not match wanted object type of the code, hence the exception error throws. Look at the exception part of the code may be helpful. |
Hey @jiemying, |
Close this issue as it's available via |
Description
Provide an intrinsic function that converts an input template block into an escaped JSON string.
Original Issue: #53
Workflow
status/proposed
)status/review
)approved
applied to pull request)status/final-comments-period
)status/approved
)status/implementing
)status/done
)The text was updated successfully, but these errors were encountered: