# \[Solved\] Does serverless create S3 bucket and DynamoDB tables during the deploy?

**URL:** <https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [January 30, 2018, 2:50pm UTC](https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640 "2018-01-30T14:50:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrTheodor](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/mrtheodor/32/1573_2.png) [@MrTheodor](https://forum.serverless.com/u/MrTheodor)\
**Post date:** [January 30, 2018, 2:50pm UTC](https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640/1 "2018-01-30T14:50:44Z")

</div>

Hi,

I have defined a S3 bucket in the resources section. However, during the deploy phase of the app, the bucket is not created. Is it a default behavior and does it also mean that DynamoDB tables are not initialized?

Best,  
Jakub

---

<div class="post-metadata">

**Author:** ![DavidWells](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/davidwells/32/201_2.png) [@DavidWells](https://forum.serverless.com/u/DavidWells)\
**Post date:** [January 31, 2018, 3:43pm UTC](https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640/2 "2018-01-31T15:43:04Z")

</div>

All the resources defined in `resources` should be initialized on deploy.

Make sure it is formatted like so: [https://github.com/serverless/examples/blob/master/aws-node-rest-api-with-dynamodb/serverless.yml#L62-L79](https://github.com/serverless/examples/blob/master/aws-node-rest-api-with-dynamodb/serverless.yml#L62-L79)

Did you look in cloudformation stack for the resources you have defined?

Also double check the region you are looking at =). Default region is `us-east-1`

---

<div class="post-metadata">

**Author:** ![MrTheodor](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/mrtheodor/32/1573_2.png) [@MrTheodor](https://forum.serverless.com/u/MrTheodor)\
**Post date:** [February 1, 2018, 8:16am UTC](https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640/3 "2018-02-01T08:16:19Z")

</div>

Sorry, my mistake and wrong indentation. I didn’t notice that `resources` section is under the `provider` section.

---

<div class="post-metadata">

**Author:** ![DavidWells](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/davidwells/32/201_2.png) [@DavidWells](https://forum.serverless.com/u/DavidWells)\
**Post date:** [February 1, 2018, 7:07pm UTC](https://forum.serverless.com/t/solved-does-serverless-create-s3-bucket-and-dynamodb-tables-during-the-deploy/3640/4 "2018-02-01T19:07:50Z")

</div>

I curse the YAML gods on a regular basis =)

Most of my yaml writing happens in Atom editor these days. It has some solid indentation showing and linting tools.
