decdk icon indicating copy to clipboard operation
decdk copied to clipboard

Errors point to location in template

Open mrgrain opened this issue 2 years ago • 0 comments

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"}

mrgrain avatar Sep 08 '22 11:09 mrgrain