2.0.1 • Published 5 years ago

lulo-plugin-ssm-get-parameters v2.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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

2.0.1

5 years ago

2.0.0

5 years ago

1.2.0

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago