slack-machine icon indicating copy to clipboard operation
slack-machine copied to clipboard

Add DynamoDB storage driver

Open jkmathes opened this issue 3 years ago • 3 comments

A storage plugin to allow storing slack-machine data into AWS DynamoDB

Optional slack-machine settings introduced:

DYNAMODB_ENDPOINT_URL - specifies an optional alternate endpoint, for local bot testing DYNAMODB_KEY_PREFIX - an optional prefix to use within the key lookup. Defaults to SM: DYNAMODB_TABLE_NAME - specifies the table to use in DynamoDB. Defaults to slack-machine-state DYNAMODB_CREATE_TABLE - optionally -create- the table to be used in DynamoDB. Defaults to False DYNAMODB_CLIENT - if custom configuration is needed for the DynamoDB client, an optional client can be specified here

jkmathes avatar Mar 25 '21 17:03 jkmathes

Looks beautiful! And the timing is great as well. Just moved to a new job that uses AWS as cloud provider. So thanks for this!

DonDebonair avatar Mar 26 '21 09:03 DonDebonair

I do have one request: could you document this new storage backend here?

DonDebonair avatar Mar 26 '21 09:03 DonDebonair

It should be updated (and now, with the correct formatting!) - thoughts?

jkmathes avatar Mar 26 '21 13:03 jkmathes

This was fixed in v0.27.1. It has only been implemented for the upcoming async version of Slack Machine

DonDebonair avatar Aug 27 '22 13:08 DonDebonair