Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 507 Bytes

INTERNAL-NOTES.md

File metadata and controls

9 lines (5 loc) · 507 Bytes

CloudFormation exports and imports

It is possible to use output Export and Fn::ImportValue to reference outputs of a stack from another one.

E.g. to make the DB name available as an environment variable in Lambda.

But once an output is "used" (via Fn::ImportValue) by another stack, it cannot be changed. So that destroys the value of using cross-stack references.

The chosen alternative was to fetch the stack output values (the real values) and inject them in serverless.yml (no references).