Serverless-Dev-Tools

Serverless-Dev-Tools

  • Docs

›Guardian Rules

Installation and Use

  • Installation and use

Pricing

  • Cloudwatch Pricing

Guardian Rules

  • no-max-timeout
  • no-max-memory
  • no-shared-roles
  • no-identical-code
  • no-default-memory
  • no-default-timeout

no-identical-code

No Functions Have Identical Deployment Code (no-identical-code)

Lambda Function should have their code packaged optimally as it may affect cold start times. Also, deploying a monolithic codebase is not advised.


Suggested Actions:

  • Look at your deployment artifact to see if there is code that should be removed.
  • If you're using the Serverless Framework specify individual packaging more info:
service: my-service

package:
  individually: true

  • Use the serverless package command if you use the serverless framework.
    • Look in the .serverless directory to see the deployment artifacts.
← no-shared-rolesno-default-memory →
  • Suggested Actions:
Serverless-Dev-ToolsTheodo
Docs
Installation and useAWS pricing
Community
Follow @SlsDevTools
More
BlogGitHubStar