decdk
decdk copied to clipboard
Errors point to location in template
As a user, When there is an error in processing my template, I want the error to specify the exact location So that I can fix it.
For an error like this
Expected object, got: {"type":"string","value":"MyBucket"}
It should show something like
[Resources.MyDist.Properties.defaultBehavior.origin.aws-cdk-lib.aws_cloudfront_origins.S3Origin.bucket]
Expected object, got: {"type":"string","value":"MyBucket"}