How do I increase my Lambda environment variable size quota?

1 minute read
0

I want to configure more than 4 KB of environment variables for my AWS Lambda function. How do I increase my service quota for Lambda environment variables?

Resolution

Lambda environment variables have a default 4 KB service quota that can't be increased.

To configure more than 4 KB of environment variables for your Lambda function, you must use an external data store. For example, another database or either of the following AWS services:
AWS Systems Manager Parameter Store
Amazon Simple Storage Service (Amazon S3)

Note: Using either Parameter Store or Amazon S3 can incur charges on your AWS account. For pricing information, see AWS pricing. To review the Lambda service quotas, see the Service Quotas console.


Related information

Viewing service quotas

Configuring functions in the console

How do I get a Lambda function in a VPC to access Systems Manager Parameter Store?

AWS OFFICIAL
AWS OFFICIALUpdated 3 years ago