

His talks during re:Invent are informative and fast-paced. Anyone learning about Dynamo will most likely run into the name Rick Houlihan. I also took a video of myself creating this template and it is available on YouTube.ĭynamoDB tables can be drop-dead simple or they can be complex beyond my current understanding. I was also surprised to see the outcome looking so simple with only 3 properties. When I started creating this template and looking into the different configurations that could be added to a template I was surprised how much can go into a table. It is designed to be wildly simple and just get something up and running that can be added onto. There is a ton of configuration that I left out of this template. For someone starting down the serverless path, I hope this template and repo can help you get something up and running that can then be altered to suit your needs. When I started diving into AWS, I found templates and snippets scattered around and had a somewhat difficult time cobbling together a starting point for myself.

This template was an addition to my CloudFormation reference GitHub repository which lives alongside other templates to give people a starting point into AWS. AWSTemplateFormatVersion : Description : Basic template for DDB Table Resources : Table : Type : AWS::DynamoDB::Table Properties : AttributeDefinitions : - AttributeName : id AttributeType : S BillingMode : PAY_PER_REQUEST KeySchema : - AttributeName : id KeyType : HASH Outputs : TableName : Description : The created DDB table name Value : !Ref Table Export : Name : !Sub $-ddb-table-name
