Support for Docker Image Assets in Service Catalog Product Stacks
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
Currently, when trying to use Docker image assets within a Service Catalog product stack, we encounter the following error:
```
Error: Service Catalog Product Stacks cannot use Assets
at ProductStackSynthesizer.addDockerImageAsset
```
### Use Case
We need to deploy a lambda function as a docker container since the packages required more storage than a lambda layer supports.
### Proposed Solution
In the api docs there's an example of regular assets that are supported: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_servicecatalog-readme.html#using-assets-in-your-product-stack
it would be nice to also support docker image assets.
### Other Information
If you know of a workaround, that would be great!
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.155.0
### Environment details (OS name and version, etc.)
macos
Contributor guide
Research direction
Start at ProductStackSynthesizer.addDockerImageAsset, which currently raises the reported error, and compare it with the regular asset support described in the Service Catalog API documentation. Trace how product stacks handle those assets and define completion as allowing Docker image assets for the stated Lambda container use case without the current error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100