Skip to content
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

Lambda was unable to configure your environment variables because the environment variables you have provided exceeded the 4KB limit. #583

Open
jarrettyeo opened this issue Oct 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jarrettyeo
Copy link

jarrettyeo commented Oct 10, 2024

12:46:25 AM | UPDATE_FAILED        | AWS::Lambda::Function                       | ChatBotApiRestApiG...ApiHandler140797C1
1 validation error detected: Value 'Lambda was unable to configure your environment variables because the environment variables you have provided exceeded the 4KB limit.

After the commit of 05f2b75 #578, I started to encounter this error when I deploy CDK

@jarrettyeo
Copy link
Author

Might need to start using Parameter Store to store and access these env vars

@jarrettyeo
Copy link
Author

@charles-marion
Copy link
Collaborator

Hi @jarrettyeo , thank you for noticing the issue.
Please use the previous commit if you are blocked. I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants