auto-remediate icon indicating copy to clipboard operation
auto-remediate copied to clipboard

Deployment failure with InvalidParameterValueException

Open AmitChotaliya opened this issue 3 years ago • 1 comments

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

 

AmitChotaliya avatar Jan 30 '21 08:01 AmitChotaliya

I commented one function which was RDS-023 which was giving the same error previously.

AmitChotaliya avatar Jan 30 '21 08:01 AmitChotaliya