In the previous post, we scaffolded our CDK project with context and additional props. In this post, we'll leverage constructs from the CDK to create DynamoDB tables, as well as a serverless function. In addition to creating the services themselves, ...

Markdown supported · ⌘↵ to post
In the first code, there is a typo: import {createTravelTable} from './database/tables.ts'
Should be: import {createTravelTable} from './database/tables'
Vidit Shah
Software Engineer
const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, })
addUserFunc seems to be redundant here