Serverless Print Dots

homepage icon https://github.com/amirklick/serverless-print-dots
Follow @amirklick

Tracked

NPM Downloads Last Month
77
Issues
0
Stars
0
Forks
0
Watchers
0
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

Serverless Print Dots

A Serverless plugin for printing dots in Serverless log during deployment to indicate progress and prevent timeouts in CI/CD platforms.

Use Case

Deploying or updating CloudFront distributions on AWS can take about 20-30 minutes to complete, exceeding some CI/CD platforms’ timeout limit, causing a false failed build while deployment is still in progress on AWS. This plugin prints a dot in the Serverless console at intervals to create a diff in logs and therefore prevent timeouts.

Setup

  1. Add dependency to package.json:

     yarn add -D serverless-print-dots
    

    or

     npm install -D serverless-print-dots
    
  2. Add the plugin to serverless.yml file:

     plugins:
       - serverless-print-dots