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

Capacity Providers pinned to obsolete version of CDK #3

Open
nbrandaleone opened this issue Oct 14, 2020 · 1 comment
Open

Capacity Providers pinned to obsolete version of CDK #3

nbrandaleone opened this issue Oct 14, 2020 · 1 comment

Comments

@nbrandaleone
Copy link

This section leverages CDK version 1.41.0. This version is no longer supported, and over 20 minor versions behind.
Not only that, the specified version no longer works (i.e. cannot be pulled properly).

$ cdk context --clear && cdk deploy --require-approval never
All context values cleared.
**************************************************
*** Newer version of CDK is available [1.67.0] ***
*** Upgrade recommended                        ***
**************************************************
Traceback (most recent call last):
  File "app.py", line 4, in <module>
    from aws_cdk import (
ModuleNotFoundError: No module named 'aws_cdk'
Subprocess exited with error 1
@nbrandaleone
Copy link
Author

Error when installing 1.41.0 version of CDK.

$ pip install --user --upgrade aws-cdk.core==$AWS_CDK_VERSION \
> aws-cdk.aws_ecs_patterns==$AWS_CDK_VERSION \
> aws-cdk.aws_ec2==$AWS_CDK_VERSION \
> aws-cdk.aws_ecs==$AWS_CDK_VERSION \
> aws-cdk.aws_servicediscovery==$AWS_CDK_VERSION \
> aws_cdk.aws_iam==$AWS_CDK_VERSION \
> aws_cdk.aws_efs==$AWS_CDK_VERSION \
> aws_cdk.aws_autoscaling==$AWS_CDK_VERSION \
> aws_cdk.aws_ssm==$AWS_CDK_VERSION \
> awscli \
> awslogs

Collecting aws-cdk.core==1.41.0
  Could not find a version that satisfies the requirement aws-cdk.core==1.41.0 (from versions: )
No matching distribution found for aws-cdk.core==1.41.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant