Skip to content

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

License

Notifications You must be signed in to change notification settings

bwinant/serverless-cf-template-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published