Skip to content

Deployment failure with InvalidParameterValueException #96

@AmitChotaliya

Description

@AmitChotaliya

Hello,

We are facing issue while doing the deployment of the auto-remediation server less application with the following error.

[root@ip-172-16-1-146 auto-remediate]# serverless deploy --region ap-south-1

Serverless: Deprecation warning: Starting with next major version, default value of provider.lambdaHashingVersion will be equal to "20201221"

            More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2

Serverless: Packaging service...

Serverless: Excluding development dependencies...

Serverless: [serverless-plugin-split-stacks]: Summary: 49 resources migrated in to 3 nested stacks

Serverless: [serverless-plugin-split-stacks]:    Resources per stack:

Serverless: [serverless-plugin-split-stacks]:    - (root): 154

Serverless: [serverless-plugin-split-stacks]:    - PoliciesNestedStack: 1

Serverless: [serverless-plugin-split-stacks]:    - SubscriptionsNestedStack: 1

Serverless: [serverless-plugin-split-stacks]:    - VersionsNestedStack: 47

Serverless: Uploading CloudFormation file to S3...

Serverless: Uploading artifacts...

Serverless: Uploading service auto-remediate.zip file to S3 (589.11 KB)...

Serverless: Validating template...

Serverless: Updating Stack...

Serverless: Checking Stack update progress...

................................................................................................................................................................................................................................................................................................................

Serverless: Operation failed!

Serverless: View the full error output: https://ap-south-1.console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aap-south-1%3A204563052588%3Astack%2Fauto-remediate-v1%2F01f571b0-6215-11eb-a609-0aa75203767c

 

  Serverless Error ---------------------------------------

 

  An error occurred: AutoRemediateS3Dash009LambdaFunction - Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: a7fa64b1-457a-4930-af06-a41c06cae393; Proxy: null).

 

  Get Support --------------------------------------------

     Docs:          docs.serverless.com

     Bugs:          github.com/serverless/serverless/issues

     Issues:        forum.serverless.com

 

  Your Environment Information ---------------------------

     Operating System:          linux

     Node Version:              15.7.0

     Framework Version:         2.21.1

     Plugin Version:            4.4.2

     SDK Version:               2.3.2

     Components Version:        3.6.0

 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions