aws-samples / aws-cdk-intro-workshop

Introduction to the AWS CDK - Workshop
MIT No Attribution
303 stars 348 forks source link

Missing dependency causing pipeline build failure #310

Closed jtgutt closed 2 years ago

jtgutt commented 2 years ago

After going through the steps given on Python Workshop -> Advanced Topics -> CDK Pipelines -> Create New Pipeline, my pipeline was failing to build, which was caused by ImportError: cannot import name 'aws_codecommit' from 'aws_cdk' (unknown location). I realized that I had to add that dependency, which was actually introduced on the previous Create Repository page, along with the other 3 introduced on this page, to my requirements.txt file in order for the build to succeed:

-e .
pytest
aws-cdk.aws-codecommit==1.129.0
aws-cdk.aws-codepipeline==1.129.0
aws-cdk.aws-codepipeline-actions==1.129.0
aws-cdk.pipelines==1.129.0
peterwoodworth commented 2 years ago

This is a bug related to when the codebase was on cdk v1 - this is no longer the case so this should no longer be an issue 🙂

github-actions[bot] commented 2 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.