Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 859 Bytes

README.md

File metadata and controls

44 lines (32 loc) · 859 Bytes

Apply AWS SSM State Manager Association

This github action will apply SSM State Manager associations that are pre-defined in your AWS account.

You provide the association name and the regions where they should be applied.

Usage

- uses: aws-actions/configure-aws-credentials@v1
  with:
    aws-access-key-id: my-access-key-id
    aws-secret-access-key: my-secret-access-key
    aws-region: us-east-2
- uses: plutovr/apply-ssm-state-manager-association
  with:
  regions: '["us-west-2","us-east-1"]'
  associationName: 'test-association'

Development

Install the dependencies

$ npm ci

Build the typescript and package it for distribution

$ npm run build && npm run package
$ npm test

 PASS  ./index.test.js
  ✓ throws invalid number (3ms)
  ✓ wait 500 ms (504ms)
  ✓ test runs (95ms)

...