# Multiple tables in Dynamo db based on full stack

**URL:** <https://forum.serverless.com/t/multiple-tables-in-dynamo-db-based-on-full-stack/13511>\
**Category:** Serverless Framework\
**Created:** [December 28, 2020, 10:07am UTC](https://forum.serverless.com/t/multiple-tables-in-dynamo-db-based-on-full-stack/13511 "2020-12-28T10:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarfrazhooda](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sarfrazhooda](https://forum.serverless.com/u/sarfrazhooda)\
**Post date:** [December 28, 2020, 10:07am UTC](https://forum.serverless.com/t/multiple-tables-in-dynamo-db-based-on-full-stack/13511/1 "2020-12-28T10:07:07Z")

</div>

I am new to serverless framework. I created a fullstack application using [apps.serverless.com](http://apps.serverless.com). It has generated serverless.yaml for database component and it looks like following. I am not sure how would I add additional tables or extend this yaml file? Would I create another input tag?

component: aws-dynamodb  
name: database

inputs:  
name: user-${stage}  
region: ca-central-1  
deletionPolicy: delete  
attributeDefinitions:  
- AttributeName: hk  
AttributeType: S  
- AttributeName: sk  
AttributeType: S  
- AttributeName: sk2  
AttributeType: S  
keySchema:  
- AttributeName: hk  
KeyType: HASH  
- AttributeName: sk  
KeyType: RANGE  
globalSecondaryIndexes:  
- IndexName: gsi1  
KeySchema:  
- AttributeName: sk2  
KeyType: HASH  
- AttributeName: sk  
KeyType: RANGE  
Projection:  
ProjectionType: ALL
