JSPM

serverless-plugin-cloudformation-cross-region-variables

1.0.9
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 5
    • Score
      100M100P100Q58215F
    • License MIT

    Serverless plugin to get varibles from cross region cloudformation templates

    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.