-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Hello,
Getting the following issue:
% serverless deploy --region us-west-2
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: [serverless-plugin-split-stacks]: Summary: 51 resources migrated in to 3 nested stacks
Serverless: [serverless-plugin-split-stacks]: Resources per stack:
Serverless: [serverless-plugin-split-stacks]: - (root): 155
Serverless: [serverless-plugin-split-stacks]: - PoliciesNestedStack: 2
Serverless: [serverless-plugin-split-stacks]: - SubscriptionsNestedStack: 1
Serverless: [serverless-plugin-split-stacks]: - VersionsNestedStack: 48
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
........
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service auto-remediate.zip file to S3 (64.85 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
...........................................................................................................................................................................................................................
Serverless: Operation failed!
Serverless: View the full error output: h
Serverless Error ---------------------------------------
An error occurred: AutoRemediateConfigDash001LambdaFunction - Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: ---, HandlerErrorCode: InvalidRequest).
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 16.2.0
Framework Version: 1.83.3 (local)
Plugin Version: 3.8.4
SDK Version: 2.3.2
Components Version: 2.34.9
Further to this, this is the error found in the CloudFormation console:
AutoRemediateConfigDash001LambdaFunction: Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: --, HandlerErrorCode: InvalidRequest)
AutoRemediateS3Dash009LambdaFunction: Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: ---, HandlerErrorCode: InvalidRequest)