Skip to content
SSM Parameter Store custom resource for CloudFormation templates
Branch: master
Clone or download
Latest commit e7afd5b Aug 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information. Initial commit Mar 12, 2017
cfn.yml Add the role Arn as an output Jan 9, 2018
example.yml Initial commit Mar 12, 2017

SSM Parameter Store helper for CloudFormation templates

You know what's lame? CloudFormation not (yet) having support for storing values in Parameter Store. You know what's less lame? Lambda-backed custom resources so that we can polyfill this ourselves. Simply deploy cfn.yml into your AWS region and use like this:

AWSTemplateFormatVersion: "2010-09-09"
    Description: Sssh, it's a secret
    Type: String
    NoEcho: true
    Type: Custom::CfnParamStore
      ServiceToken: !ImportValue CfnParamStore
      Type: SecureString
      Value: !Ref SecretValue
    Description: Arn of param in SSM param store
    Value: !GetAtt SecureParam.Arn

Note that neither CloudFormation, Lambda nor Parameter Store are global resources, so you will have to deploy the helper stack into each region that you wish to use this in.

You can’t perform that action at this time.