Skip to content

carlnordenfelt/lulo-plugin-ssm-get-parameters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lulo SSM Get Parameters

lulo SSM Get Parameters returns the provided parameters from SSM Parameter Store.

lulo SSM Get Parameters is a lulo plugin

Installation

npm install lulo-plugin-ssm-get-parameters --save

Usage

Properties

  • Parameters: An array of name/path parameter configurations. Required.

Example

SSMParams:
    Type: 'Custom:GetParameters'
    Properties:
        ServiceToken: '...'
        Parameters:
            - ['Foo', '/path/to/foo/parameter']
            - ['Bar', '/path/to/bar/parameter']

Outputs:
    FooValue:
        Value: !GetAtt 'SSMParams.Foo'
    BarValue:
        Value: !GetAtt 'SSMParams.Bar'

Return Values

The parameter values can be accessed via Fn::GetAtt for each valid Parameter Name: !GetAtt 'Resource.ParamName'

Required IAM Permissions

The Custom Resource Lambda requires the following permission statement for this plugin to work:

Note: If any of the parameters are encrypted using a custom KMS key the Lambda will need decrypt permissions on the key.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "ssm:getParameters"
      ],
      "Effect": "Allow",
      "Resource": "*"
    }
  ]
}

License

The MIT License (MIT)

Change Log

Change Log

About

lulo SSM Get Parameters returns the provided parameters from EC2 SSM Parameter Store.

Resources

License

Stars

Watchers

Forks

Packages

No packages published