JSPM

serverless-custom-depends-on

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1736
  • Score
    100M100P100Q120054F
  • License MIT

Serverless plugin to add custom dependsOn to CloudFormation resouces

Package Exports

  • serverless-custom-depends-on
  • serverless-custom-depends-on/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-custom-depends-on) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

serverless-custom-depends-on

serverless npm version

Serverless v2/v3 plugin to add custom dependsOn to CloudFormation resouces.

What it does

It helps you to add the "DependsOn" attribute in your CloudFormation Template Resouces. That's an alternative when the CloudFormation throws the ˜Too many requests" error when trying to deploy your application.

Install

npm install -D serverless-custom-depends-on
# or
yarn add -D serverless-custom-depends-on

Enable the plugin

Add the following plugin to your serverless.yml:

plugins:
  - serverless-custom-depends-on

Configure

You can configure the plugin behavior using the custom section in your serverless.yml file.

You need to list which AWS Resources you want to add the "DependsOn" attribute. See in the example below:

custom:
  serverless-custom-depends-on:
    - AWS::ApiGateway::Method
    - AWS::ApiGateway::Resource