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

Failure to deploy due to outdated Lambda Go runtime #46

Open
athewsey opened this issue Apr 29, 2024 · 0 comments
Open

Failure to deploy due to outdated Lambda Go runtime #46

athewsey opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@athewsey
Copy link
Contributor

Recently heard from a user facing the following error on CDK deploy:

Resource handler returned message:"The runtime parameter of go1.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (provided.al2023) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 51e30614-01de-45c4-9299-7d3e739c936b)" (RequestToken: 1b0734e2-e230-f80f-541b-a2dd85163213, HandlerErrorCode: InvalidRequest)

It looks like this is due to outdated version of cdk-ecr-deployment, which should now be resolved. Tentatively think upgrading this dependency to cdk-ecr-deployment = ">3.0.13" (in pyproject.toml, then re-running poetry install) should provide a fix, but haven't yet had chance to reproduce and push the update here to the repo.

@athewsey athewsey added the bug Something isn't working label Apr 29, 2024
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
None yet
Development

No branches or pull requests

1 participant