Skip to content

Apply AWS State Manager Association state to a pre-existing association

License

Notifications You must be signed in to change notification settings

PlutoVR/ApplySSMStateManagerAssociation

Repository files navigation

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)

...

About

Apply AWS State Manager Association state to a pre-existing association

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published