Perform migrations using a ephemeral Prisma server
A terraform configuration will allow creation of this ephemeral "on-demand" Prisma server for performing migrations
Later, migrations can be done in CI
Lambda function talks to SQL directly using some type-safe SQL query builder, this enables us to have declarative migrations but still be purely serverless (provided Aurora serverless works with Lambda)
This is a proof of concept idea, let us see how this looks in coming days.
Future:
In place of remote-exec, packer can be used to speed up instance image creation and free us from vendor locking.
Implements #24 - Proof of concept
Current Idea:
This is a proof of concept idea, let us see how this looks in coming days.
Future:
remote-exec
, packer can be used to speed up instance image creation and free us from vendor locking.