# Configure DynamoDB in Serverless

**URL:** <https://discourse.sst.dev/t/configure-dynamodb-in-serverless/162>\
**Category:** Chapter Comments\
**Created:** [May 9, 2018, 11:12pm UTC](https://discourse.sst.dev/t/configure-dynamodb-in-serverless/162 "2018-05-09T23:12:02Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [August 3, 2018, 6:48pm UTC](https://discourse.sst.dev/t/configure-dynamodb-in-serverless/162/14 "2018-08-03T18:48:08Z")

</div>

I talked about the resource sharing in the other thread - [Organizing Serverless Projects](https://discourse.sst.dev/t/organizing-serverless-projects/350/3?u=jayair).

But for the IAM roles, it really depends on the level at which you want to control this. You can use [Cognito User Groups](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-user-groups.html). Or you can manage these internally in your code if you have some slightly complicated business logic to resolve permissions.

---

_[View the full topic](https://discourse.sst.dev/t/configure-dynamodb-in-serverless/162)._
