UNPKG

cdk-drizzle-migrate

Version:

AWS CDK construct for running Drizzle ORM migrations

22 lines (12 loc) 635 B
# Install a basic custom resource > Ingest the information from this file, implement the Low-Level Tasks, and generate the code that will satisfy the objective. ## Objective Change the Drizzle migrate provider ## Context - CONVENTIONS.md: the conventions to follow. - src/drizzle-migrate-provider.ts: the custom resource provider. - src/lambda/index.ts: the lambda actually implementing the behavior. ## Low-Level Tasks 1. Remove the environment properyt. 2. Remove the timeout property. 3. Add a handlerProps property of type that normally can be specified for a nodejs lambda so the type that includes timeout, logging etc.