CDK CLI can only be used with apps created by CDK >= 1.10.0
See original GitHub issueReproduction Steps
Only upgraded to CDK 1.10.0 and tried to run cdk diff
command
Error Log
CDK CLI can only be used with apps created by CDK >= 1.10.0
Environment
- CLI Version : 1.10.0 (build 19ae072)
- Framework Version: 1.10.0 (build 19ae072)
- OS: OSX Mojave
- Language : python
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:11 (2 by maintainers)
Top Results From Across the Web
AWS CDK CLI can only be used with apps created by CDK error
I went to do a cdk ls or cdk diff and was greeted with the error: CDK CLI can only be used with...
Read more >AWS CDK Toolkit (cdk command) - AWS Documentation
The AWS CDK Toolkit, the CLI command cdk , is the primary tool for interacting with your AWS CDK app. It executes your...
Read more >How to check and secure CDK code with cdk-nag - Oblivion
The idea here is to create a basic S3 bucket, and let cdk-nag check the code by using the Aspect function in CDK....
Read more >aws-cdk.core - PyPI
What roles are used to deploy the stack? These can be bootstrapped roles, roles created in some other way, or just the CLI's...
Read more >aws-cdk - NPM Package Overview - Socket.dev
CDK Toolkit, the command line tool for CDK apps. ... the cdk command-line interface that can be used to work with AWS CDK...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A solution to this problem is to upgrade all of your CDK library dependencies to
1.10.0
or greater.Maybe a better solution would be to use the locally installed CDK (
npx cdk diff
) instead of installing it globally? I’m not sure why this isn’t recommended in the README.