-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@aws-cdk/aws-servicecatalog Ephemeral storage modification support #32355
Comments
Findings:
So change would involve exposing
@KetulRadadiya Feel free to contribute PR based on above inputs, if possible (also refer https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md to refer requirements of a PR, which includes adding unit tests and updating integration test snapshot). |
Ability to Configure EphemeralStorage for Lambda in ServiceCatalog.ProductStack Problem Statement: However, I encountered the following challenges:
Use Case: Add an optional property, ephemeralStorageLimit, to the ProductStack construct to specify the required size for the Lambda function. Current Workaround: |
Describe the feature
Currently, AWS CDK’s @aws-cdk/aws-servicecatalog module uses an internal Lambda function for asset copying during Service Catalog product deployment. This Lambda’s configuration (e.g., ephemeral storage) is not exposed for user customization.
This feature would allow developers to override or specify these Lambda ephemeral storage when deploying Service Catalog products.
Expected Enhancements:
Use Case
When deploying large asset bundles around of 3 GB (e.g., Lambda function packages, website files) to Service Catalog products, the internal Lambda function fails due to insufficient ephemeral storage.
For example:
This feature would significantly improve flexibility for handling larger workloads in Service Catalog deployments.
Proposed Solution
Add an optional property to the servicecatalog.ProductStackProps that allows customization of the internal Lambda function.
Developers can pass lambdaProps to override settings for the internal Lambda, such as:
Other Information
The error that I'm facing,
Ref: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_servicecatalog.ProductStackProps.html
Acknowledgements
CDK version used
2.170.0
Environment details (OS name and version, etc.)
Ubuntu 22.04.5 LTS
The text was updated successfully, but these errors were encountered: