Skip to content

An implementation of an events state machine using AWS Step Functions and the Serverless framework.

License

Notifications You must be signed in to change notification settings

muxer-dev/event-pipeline

Repository files navigation

Event Pipeline

An implementation of an events state machine using AWS Step Functions and the Serverless framework.

Linting

black src tests fixtures && isort -rc src tests fixtures

Testing

docker-compose build test && docker-compose run test

Adds secrets to SSM parameter store

Prior to deploying changes you will need to add secret keys to the SSM Parameter Store; This can be done via the UI or using the following commands (if you have the relevant environment variables configured).

This creates the keys and values in the SSM parameter store:

aws ssm put-parameter --name meetupApiToken --region=eu-west-1 --type String --value ${MEETUP_API_TOKEN} --profile=muxer

This reads the keys and values from the SSM paramter store to ensure they have been created successfully:

aws ssm get-parameters --region=eu-west-1 --name meetupApiToken --profile=muxer

Manual Deployment

sls deploy --aws-profile=muxer --region-eu-west-1

Deploy

export AWS_ACCESS_KEY_ID=$(aws --profile muxer configure get aws_access_key_id)
export AWS_SECRET_ACCESS_KEY=$(aws --profile muxer configure get aws_secret_access_key)

docker-compose build deploy && docker-compose run deploy

About

An implementation of an events state machine using AWS Step Functions and the Serverless framework.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published