Skip to content
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

Errors point to location in template #246

Open
mrgrain opened this issue Sep 8, 2022 · 0 comments
Open

Errors point to location in template #246

mrgrain opened this issue Sep 8, 2022 · 0 comments

Comments

@mrgrain
Copy link
Contributor

mrgrain commented Sep 8, 2022

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"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant