Bug: Python runtime in deployment-pipeline.yaml - BlueGreenFlipLambda Resource outdated
Seppo007 opened this issue · 0 comments
Hi there,
cloning this repo and following the instructions on your workshop page (https://cicd-pipeline-cfn-ecs-fargate-bluegreen.workshop.aws/en/cicd/script.html) results in a stack creation error of the DeploymentPipeline stack with the following error:
"Resource handler returned message: "The runtime parameter of python2.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.9) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 96df5a45-faa2-4641-9b6f-31b401622c1d, Extended Request ID: null)" (RequestToken: 1ae75b77-6c07-1dc6-0fc9-1483a5033e45, HandlerErrorCode: InvalidRequest)"
It seems that the used runtime for the lambda (python 2.7) is not supported by cloudformation anymore