aws-cdk-lib 2.41.0: throws aws-cdk-lib.cx_api.CloudAssembly error

See original GitHub issue

Describe the bug

When running cdk synth in my project I’m getting an error:

obraz

Expected Behavior

cdk synth works correctly

Current Behavior

ValueError: Unknown type: aws-cdk-lib.cx_api.CloudAssembly is thrown.

Reproduction Steps

Build any generic CDK project with listed dependencies below and run cdk synth.

Possible Solution

Workaround: downgrade pip install aws-cdk-lib==2.35.0 fixed the issue.

Additional Information/Context

No response

CDK CLI Version

2.41.0

Framework Version

No response

Node.js Version

14.20.0

OS

WSL2 on Windows 10

Language

Python

Language Version

No response

Other information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
corymhallcommented, Sep 8, 2022

@marcin2x4 I just tried this on a new project created with cdk init --language=python app and I didn’t receive any error.

Can you provide a reproducible example?

0reactions
github-actions[bot]commented, Nov 6, 2022

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

aws-cdk-lib module - AWS Documentation
Error Handling: whether errors thrown by handler code are automatically trapped and a FAILED response is submitted to CloudFormation. If this is "Manual", ......
Read more >
Argument of type 'this' is not assignable to parameter of type ...
ts file, I'm getting an error when passing this as parameter into CDK methods. Here's what my file looks like: import * as...
Read more >
software.amazon.awscdk » aws-cdk-lib - Maven Repository
Version Vulnerabilities Repository Usages Date 2.56.x 2.56.1 Central 0 Dec 23, 2022 2.56.0 2.56.x Central 0 Dec 21, 2022 2.55.x 2.56.x 2.55.1 Central 1 Dec 16,...
Read more >
@aws-cdk/cloud-assembly-schema: Versions | Openbase
autoscaling: error not thrown when associatePublicIpAddress is set to ... /packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts#L138 ... cxapi: of behavior.
Read more >
software.amazon.awscdk : aws-cdk-lib : 2.8.0 - Maven Central
undefined:undefined - Version 2 of the AWS Cloud Development Kit library.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found