serverless-plugin-cloudformation-cross-region-variables

1.0.9 • Public • Published

serverless-plugin-cloudformation-cross-region-variables

This plugin supports using coudformation stack outputs from stacks in different regions.

Adds new variable syntax to serverless formatted as such ${cfcr:Region:StackName:OutputKey}

Also now allow use of the variable syntax ${ssmcr:Region:ParamPath} for cross region SSM parameters or ${ssmcr:Region:ParamPath~true} to decrypt secure strings values returned.

Usage

custom:
  # We have another stack we want to know about in us-east-1
  myServiceEndpoint: ${cfcr:us-east-1:other-stack-name-${opt:stage}:ServiceEndpoint}

plugins:
  - serverless-plugin-cloudformation-cross-region-variables 

Attributions

This plugin used serverless-plugin-git-variables as a base.

Package Sidebar

Install

npm i serverless-plugin-cloudformation-cross-region-variables

Weekly Downloads

2

Version

1.0.9

License

MIT

Unpacked Size

17.6 kB

Total Files

4

Last publish

Collaborators

  • thepont