-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Description
When deploying the CloudFormation template, the Lambda function creation fails with two critical issues:
- Missing S3 Files Error:
Error occurred while GetObject. S3 Error Code: NoSuchKey. S3 Error Message: The specified key does not exist.
(Service: Lambda, Status Code: 400)
- Deprecated Python Runtime:
The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions.
(Service: Lambda, Status Code: 400)
Steps to Reproduce
- Clone the repository
- Attempt to deploy the CloudFormation template
- Observe the CREATE_FAILED state for Lambda functions
Expected Behavior
- CloudFormation template should successfully create all resources
- Lambda functions should be created with current supported Python runtime
- Required ZIP files should be properly uploaded to S3 before Lambda creation
Current Behavior
- Lambda function creation fails due to missing S3 files
- Template attempts to use deprecated Python 3.7 runtime
Suggested Fixes
- Update Python runtime from 3.7 to 3.11 in all Lambda function definitions
- Add proper DependsOn conditions to ensure ZIP files are uploaded before Lambda creation
- Verify the ZIP file names and paths in the template match the actual files being uploaded
Metadata
Metadata
Assignees
Labels
No labels