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.