aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.61k stars 1.01k forks source link

Automatic SDK generation not available for apps deployed via AWS CDK #2061

Open samuelefiorini opened 1 year ago

samuelefiorini commented 1 year ago

When deploying a Chalice application using AWS CDK, the folder .chalice\deployed is not being populated as expected.

As a result, when attempting to retrieve the list of deployed resources and trigger the automatic SDK download process using the command chalice generate-sdk --stage dev ./sdk, the process is aborted with the following error message:

Could not find API ID, has this application been deployed?
Aborted!