daniel-cottone / serverless-es-logs

A Serverless plugin to transport logs to ElasticSearch
MIT License
54 stars 32 forks source link

Support Serverless Deprecation LAMBDA_HASHING_VERSION_V2 #498

Open whitneylarow opened 3 years ago

whitneylarow commented 3 years ago

I'm trying to respond to the Serverless deprecation warning here by updating provider.lambdaHashingVersion.

🐞 Problem I'm getting the following error when I try to deploy the updated function and I don't have a way to update the EsLogsProcesserLambda (which is generated automatically by this package).

An error occurred: EsLogsProcesserLambdaVersionHTahmkBFX9HLO6hMXGbu8Pdse32czw05FpX412PYF4 - A version for this Lambda function exists ( 3 ). Modify the function to create a new version..

🎯 Goal Provide a way to change the es-logs-processor-lambda so that we can update the lambda hashing version and have a successful deployment.