Closed mathieu-benoit closed 1 year ago
Thanks for pointing this out @mathieu-benoit -- can you confirm whether you have pulled from latest /main
branch?
Yes you are correct that #16 was intended to fix this. If the issue is still coming up we can address immediately. Thanks for bringing to our attention.
Hi @samwardbiddle yes I'm in main
branch + this change https://github.com/aws-solutions-library-samples/guidance-for-carbon-data-lake-on-aws/pull/24. Not sure if I'm missing anything though:
npm ci
npm run build
cdk synth
Thanks!
@mathieu-benoit that is all correct. And you ran git pull
as well to make sure you're working from latest? I am thinking yes, just want to double check.
Yep, I confirm that I'm using this directly from a fresh git clone
with this change https://github.com/aws-solutions-library-samples/guidance-for-carbon-data-lake-on-aws/pull/24.
Hey @samwardbiddle not sure #26 is fixing the issue. I edited my answer above, but typically in addition to the git clone
, I also needed to do https://github.com/aws-solutions-library-samples/guidance-for-carbon-data-lake-on-aws/pull/24. But I still have the issue.
I just cloned from source on main with the new merge, ran all three commands and did not encounter any errors. I believe the issue was due to a lingering merge conflict marker that left the old configuration intact.
Oh ok, just to make sure, could you paste here the commands you are running? Just making sure I'm not missing anything. Thanks.
@mathieu-benoit no problem. Confirming that we just cloned from source, and followed the commands you shared, which are correct:
npm ci
npm run build
cdk synth
The outcome was:
Successfully synthesized to /Users/user/Documents/guidance-for-carbon-data-lake-on-aws/cdk.out
Supply a stack id (SharedResources, LineageStack, DataPipelineStack, DataCompactionStack, ApiStack, SageMakerNotebookStack, WebStack, TestStack) to display its template.
Is it possible that you have the old cdk.out
resource still in the repo? You may need to delete cdk.out
directory and synthesize again.
Thanks for your support and help on this @samwardbiddle, deleting the cdk.out
did the trick, I'm now successfully able to run cdk synth
, thanks!
Great. Thank you! Thanks for your attention to detail and for submitting the PR. Really helpful. Please let us know how we can be helpful moving forward. Closing this issue.
When running
cdk synth
, here is the errors you will get:Was this supposed to be fixed with https://github.com/aws-solutions-library-samples/guidance-for-carbon-data-lake-on-aws/issues/16?