1.0.1 • Published 6 years ago

serverless-cf-template-size v1.0.1

Weekly downloads
34
License
MIT
Repository
github
Last release
6 years ago

Serverless CloudFormation Template Size

serverless npm version downloads

Serverless plugin that prints the number of resources in the generated CloudFormation template and warns if your project is close to the 200 resource limit.

This plugin is similar to serverless-cloudformation-resource-counter except:

  • It can return the size of the CloudFormation template without first having to deploy to AWS - it inspects the template after the package lifecycle event is complete.
  • It outputs the count of each type of CloudFormation resource in the template.
  • Prints warnings when the number of resources is close to the maximum limit.

Setup

  • Install via npm:
npm install serverless-cf-template-size --save-dev
  • Update the plugins section of your serverless.yml:
plugins:
    - serverless-cf-template-size