Package Exports
- serverless-plugin-cloudformation-cross-region-variables
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-plugin-cloudformation-cross-region-variables) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.