We need a workflow engine worker when a new database is created to setup and connect to the database in RDS.
The workflow will
- Select a database from the pool of databases
- Creates the DatabaseUser record using the RDS Client with the username and password for the database
- Trigger a backfill sync on sync-srv
- Poll and update the status of the backfill, once sync-srv is complete, it will set the
backfilled_at attribute on the database model