serverless-cf-template-size

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i serverless-cf-template-size

Weekly Downloads

12

Version

1.0.1

License

MIT

Unpacked Size

4.79 kB

Total Files

4

Last publish

Collaborators

  • bwinant