Automatic SDK generation not available for apps deployed via AWS CDK
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
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!
```
Contributor guide
Research direction
Start by reproducing an AWS CDK deployment of a Chalice application and inspect whether .chalice\deployed is populated. Then run `chalice generate-sdk --stage dev ./sdk` and trace how it retrieves the API ID; done means deployed resources are available and automatic SDK generation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100