Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dynamodb setup documentation #44

Open
ryan-lane opened this issue Jan 27, 2016 · 5 comments
Open

Fix dynamodb setup documentation #44

ryan-lane opened this issue Jan 27, 2016 · 5 comments

Comments

@ryan-lane
Copy link
Contributor

The table definitions for dynamodb in the docs don't match up well with what AWS has in the console when you create tables and indexes. We should use similar info and we should show screenshots (and/or a screencast) of the process.

@ghost
Copy link

ghost commented Mar 29, 2016

Hello

Could you show settings screenshots of DynamoDB table?
I do not quite understand how DynamoDB is configured according to the documentation.

Thanks

@ryan-lane
Copy link
Contributor Author

Yeah. I think someone was working on this, but I can add some screenshots if they don't. I can also make it possible for Confidant itself to generate the tables. It already supports it, but it only works when a dynamo url is specified (for local dynamo). I can make a config option that'll make it work, though.

@ryan-lane
Copy link
Contributor Author

Though not a fix for the documentation, I added the ability (in branch 1.1) for Confidant to generate its own table: #56

@ambrons
Copy link

ambrons commented May 9, 2016

I updated to branch 1.1, built a new docker and deployed. I was sure to make the ec2 container role have dynamodb create table privelages. There were no errors related to not having permissions however it did not create the table for me.

I looked back at your documentation and was able to determine what was suppose to be configured.

Primary partition key: id [String]
Read/Writes: 10/10
Additional Index Keys:
data_type_date_index:
Primary Key: data_type [String]
[check] Add sort key: modified_date [String]
Read/writes: 10/10
data_type_revision_index:
Primary Key: data_type [String]
[check] Add sort key: revision [Number]
Read/writes: 10/10

@ryan-lane
Copy link
Contributor Author

Whoops. Sorry, I forgot to mention that there's a config option that controls this: DYNAMODB_CREATE_TABLE

I thought I had added this to 1.0, but it seems it's only in 1.1. I've opened an issue to backport this: #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants