Carova

Serverless AWS Reference Other Cloudformation Stack Variables

Serverless template to reference other Cloudformation Stack Output Variables. Use external Cloudformation Stack Variables from other Stacks.

Add the following YAML to the resources section of your Serverless file.

1${cf:Cloudformation-Stack-Name.Variable-Name} 2

Example:

1provider: 2 deploymentBucket: 3 name: ${cf:main-resources.ServiceDeploymentBucket}