Traceback (most recent call last):
File "/home/USERNAME/ChaliceA4AB/example/jp/sandwich-shop/infrastructure/app.py", line 4, in <module>
from aws_cdk import core as cdk
File "/home/USERNAME/.local/lib/python3.9/site-packages/aws_cdk/core/__init__.py", line 7501, in <module>
class ConstructNode(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConstructNode"):
File "/home/USERNAME/.local/lib/python3.9/site-packages/aws_cdk/core/__init__.py", line 7560, in ConstructNode
runtime_info: typing.Optional[typing.Union[_aws_cdk_cx_api_9a62db47.RuntimeInfo, typing.Dict[builtins.str, typing.Any]]] = None,
AttributeError: module 'aws_cdk.cx_api' has no attribute 'RuntimeInfo'
procedure
-> Reference :: https://aws.github.io/chalice/tutorials/cdk.html
Select
[CDK] REST API with DynamoDB backend
Result
Failed to deploy. Traceback
Reason
CDK v2.72.0 has no package
aws_cdk.core
https://github.com/aws/aws-cdk/tree/v2.72.0/packages/aws-cdk-lib/coreBut CDK v2.73.0 later, package has
aws_cdk.core
https://github.com/aws/aws-cdk/tree/v2.73.0/packages/aws-cdk-lib/coreChalice determines the version in this way. But 2.73.0 later, this source does not work correctly.