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.
Recently heard from a user facing the following error on CDK deploy:
It looks like this is due to outdated version of
cdk-ecr-deployment
, which should now be resolved. Tentatively think upgrading this dependency tocdk-ecr-deployment = ">3.0.13"
(in pyproject.toml, then re-runningpoetry install
) should provide a fix, but haven't yet had chance to reproduce and push the update here to the repo.