/aws-cloudformation-parm-demo

Demos of passing parameters between AWS Cloudformation stacks

MIT LicenseMIT

4 Ways of passing parameters between Cloudformation stacks

  1. Manual copy-paste

  2. Nested stacks
    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html

  3. Cross stack references (or export/import)
    https://aws.amazon.com/blogs/aws/aws-cloudformation-update-yaml-cross-stack-references-simplified-substitution/

  4. SSM parameter store
    https://aws.amazon.com/blogs/mt/integrating-aws-cloudformation-with-aws-systems-manager-parameter-store/
    https://aws.amazon.com/blogs/mt/using-aws-systems-manager-parameter-store-secure-string-parameters-in-aws-cloudformation-templates/

  5. Stack sets
    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html

  6. AWS CDK
    https://aws.amazon.com/blogs/developer/aws-cdk-developer-preview/