Closed geetikatalreja closed 3 years ago
cdk-ecr-deployment
hasn't officially release python package yet.
it means I can not use it for aws-cdk python project. if there is any way to use it please let me know. I just want to create ECR repo and upload images in it with image tags.
@wchaws Is there any progress with this topic? I found https://pypi.org/project/avishayil-cdk.ecr-deployment/ - I guess this is exactly same package OP used. Are you involved in this package development as well?
@mploski In short, no. And I'm not involved in https://pypi.org/project/avishayil-cdk.ecr-deployment/
@wchaws do you need help publishing to pypi? It should be straightforward. Just add publishToPyPi
setting to your project with the package name and add TWINE_USERNAME
and TWINE_PASSWORD
secrets to the repo.
Something like this:
{
publishToPyPi: {
distName: 'cdk-ecr-deployment',
module: 'cdk_ecr_deployment'
}
}
@mploski Python package is published https://pypi.org/project/cdk-ecr-deployment/#description
I am using python for my CDK project. I want to use this project. I am not able to import cdk_ecr_deployment I have also installed "avishayil-cdk.ecr-deployment==0.0.0", but I am getting Module not found error. from aws_cdk import aws_ecr_assets as ecr_assets, aws_ecr as ecr
below is the error:
File "c:\ecr_stack.py", line 7, in <module> from avishayil_cdk import ecr_deployment ModuleNotFoundError: No module named 'avishayil_cdk'
Please guide how I can use this module.