You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a stack that is deployed with a customize synthetizer. Especially, I am customizing the propertybucketPrefix. I am basically adding a custom prefix to all assets uploaded.
While synthesizing, I get the error:
..../node_modules/cdk-pipelines-github/src/pipeline.ts:491
throw new Error(`Template asset hash ${hash} not found.`);
I have the feeling that the local asset path is not defined correctly.
Do you know if there is a workaround ?
Thank you for your help
The text was updated successfully, but these errors were encountered:
Hi @clementrey-dev! Sorry about that, you're almost certainly correct that the custom prefix is the problem here. In cdk-pipelines-github, we use a prop called assetHashMap and the keys of the map are the assetId prior to uploading. We then try to match the asset again using the ID found in the template.
I can't think of any workaround here. We should fix this in code. That being said, this repo does not get the same maintenance as aws/aws-cdk, and you're mostly at the whim of my availability to get bug fixes in. If this is especially bothersome and you have some extra time, feel free to take a look and see if you can contribute a fix :). Would help me a lot! Otherwise, I'll have this on my radar.
Hello
I have a stack that is deployed with a customize synthetizer. Especially, I am customizing the property
bucketPrefix
. I am basically adding a custom prefix to all assets uploaded.While synthesizing, I get the error:
I have the feeling that the local asset path is not defined correctly.
Do you know if there is a workaround ?
Thank you for your help
The text was updated successfully, but these errors were encountered: