Serverless Cloudformation Resource Counter

A plugin to count the resources generated in the AWS CloudFormation stack after deployment.

Serverless Cloudformation Resource Counter Plugin

npm license downloads codecov Build Status

A serverless plugin to count the resources generated in the AWS CloudFormation stack after deployment. It provides an option to warn users when a preset number of resources have been created. This is particularly useful when trying to avoid the 500 resource limit set by CloudFormation.

Usage

Install

$ yarn add serverless-cloudformation-resource-counter
$ npm install serverless-cloudformation-resource-counter

Configuration

plugins:
    - serverless-cloudformation-resource-counter

custom:
    warningThreshold: 13

License

Feel free to use the code, it's released using the MIT license.