-
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
Function (lambda): allow users in regions where 10GB memory is supported to utilize them #33523
Comments
Looks like this error is coming from CloudFormation, not CDK? |
I think you're right - looking into the code for CDK, there seems to be no bound check for memory size. Thanks. |
From what I understand CloudFormation is not open source like CDK right? |
Further information - while technically the region I was using has a limit of 10240MB (AWS always uses this figure as the upper bound on their informational websites, if you actually try setting it to numbers above 3008 even through the website there is an error. Unofficially, it looks like you have to get support to write you a ticket to increase it manually. After I get it increased I will update this thread based on if I can access the higher limits through CDK. |
After I got my limit approved, I was able to set it to the higher value in CDK without issues. |
Comments on closed issues and PRs are hard for our team to see. |
Describe the feature
Currently, the following code:
fails with this error:
However, according to THIS article, memory limits of up to 10GB is supported in many regions.
Thus, if I am deploying into a region with support for the increased memory limit, I should be able to do so successfully - if I am in an unsupported region, I should be given a more descriptive error message.
Use Case
I need higher memory limits for my Lambda function and I would like to use them while maintaining the seamless deployment of AWS CDK.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.173.2
Environment details (OS name and version, etc.)
Ubuntu 24 on AWS Lightsail
The text was updated successfully, but these errors were encountered: