Research and Engineering Studio (RES) is an AWS supported open source product that enables IT administrators to provide an easy-to-use web portal for scientists and engineers to run technical computing workloads on AWS.
Please make sure to add the following data in order to facilitate the root cause detection.
Describe the bug
When deploying the external resources template, the Networking nested stack fails to deploy because of the GetAzLambdaFunction resource not being able to deploy. The problem lies with the fact that the lambda function is set to be deployed using Python 3.7 and it is not supported anymore.
Error message:
Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 1f122053-a2db-4e9c-b196-d978f228e1e1)" (RequestToken: bd9059fd-848a-3c71-d528-53cb1a603fcc, HandlerErrorCode: InvalidRequest)
Steps to reproduce
Steps to reproduce the behavior:
Use the provided template to deploy the external resources on your account
When the Networking nested stack gets instantiated, it fails completing its creation due to the GetAzLambdaFunction being configured to be deployed using Python 3.7 as the runtime.
See error "Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 1f122053-a2db-4e9c-b196-d978f228e1e1)" (RequestToken: bd9059fd-848a-3c71-d528-53cb1a603fcc, HandlerErrorCode: InvalidRequest)"
Expected behavior
To follow the documentation, deploy the template, and have all the required resources configured properly in my account.
Actual behavior
When following the documentation steps, it fails deploying the requirements using the provided template.
Screenshots/Video
N/A
Environment (please complete the following information):
RES Version: 2024.01
Additional context
Tried both in US-EAST-1 and US-EAST-2 and both regions failed deployment. Looking at the other nested stacks and their lambda functions, they are all python 3.9 but the networking stack which still uses python 3.7.
Please make sure to add the following data in order to facilitate the root cause detection.
Describe the bug When deploying the external resources template, the Networking nested stack fails to deploy because of the GetAzLambdaFunction resource not being able to deploy. The problem lies with the fact that the lambda function is set to be deployed using Python 3.7 and it is not supported anymore.
Error message: Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 1f122053-a2db-4e9c-b196-d978f228e1e1)" (RequestToken: bd9059fd-848a-3c71-d528-53cb1a603fcc, HandlerErrorCode: InvalidRequest)
Steps to reproduce Steps to reproduce the behavior:
Expected behavior To follow the documentation, deploy the template, and have all the required resources configured properly in my account.
Actual behavior When following the documentation steps, it fails deploying the requirements using the provided template.
Screenshots/Video N/A
Environment (please complete the following information):
Additional context Tried both in US-EAST-1 and US-EAST-2 and both regions failed deployment. Looking at the other nested stacks and their lambda functions, they are all python 3.9 but the networking stack which still uses python 3.7.