jamlen
05/09/2022, 11:11 AMCustomerProfile
, Order
, Fulfilment
etc. For data storage I’m planning on using Postgres and I want each stack to have its own database, rather than having one database that everything accesses. I could create an RDS Cluster in each of the stacks, but I don’t think I want multiple clusters, just multiple databases. Is there any opinions on this and how would migrations work… for example each database could have its own view of what a Customer is… so I’ll have several Customer
entities not a single one.James Woods
05/09/2022, 5:51 PMjamlen
05/10/2022, 8:09 AMFrank
thdxr
05/11/2022, 10:15 PMthdxr
05/11/2022, 10:15 PMdatabase: evt?.database || process.env.RDS_DATABASE,
when invoking the migration lambda you can pass in evt.database which the frontend does - I'm not sure if there's a way to do this through our construct though