How to Free #aws Lambda Code Storage (CodeStorageExceeded)
▻https://hackernoon.com/how-to-free-aws-lambda-code-storage-codestorageexceeded-4b7e81c2d575?sou
You are already up and running with AWS Lambda for several months, and all of a sudden you get the following error:An error occurred: TestDashdeliveryLambdaFunction — Code storage limit exceeded. (Service: AWSLambda; Status Code: 400; Error Code: CodeStorageExceededException; Request ID: 05d3ae68-e7f6–11e8–948e-41c27396380e).What’s the problem?AWS limits the amount of “code storage” it saves on their internal S3 for Lambda functions of up to 75GB.Although it sounds like a lot of space, you can easily reach that limit. In case you’re using the #serverless Framework, its default is to store a version for every deployment you make.Solving the issueIf you don’t need to store a version for each deployment (like many of us), you can easily cancel it with the following addition to your serverless.yml (...)