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

This need to be updated with CDK v2 #23

Open
yangliunewyork opened this issue Sep 1, 2022 · 1 comment
Open

This need to be updated with CDK v2 #23

yangliunewyork opened this issue Sep 1, 2022 · 1 comment

Comments

@yangliunewyork
Copy link

The code example here are using CDK v1.
Now CDK v2 is out and CDK v1 is in maintenance mode.

@rafaeldasilva
Copy link

There is not possible to use the aws-cdk version specified on doc anymore.
Got the following error:

$ cdk ls
(node:3136) NOTE: The AWS SDK for JavaScript (v2) will be put into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use node --trace-warnings ... to show where the warning was created)


*** Newer version of CDK is available [2.64.0] ***
*** Upgrade recommended ***


A newer version of the CDK CLI (>= 21.0.0) is necessary to interact with this app

to fix I updated it

npm install -g [email protected] --force
aws-cdk --version

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

2 participants