#✅ - Seed Dynamo DB

5 messages · Page 1 of 1 (latest)

spark geyser
#

Hello,

Is there a prefered way to seed the DB generated by the amplify schema with test data?

I found some documentation about sharing data across builds here, but nothing about initial seeding. Any help would be appreciated.

tepid flame
#

Currently, the AWS Amplify does not offer an out-of-the-box solution for seeding or pre-populating data into your database. However, you have the flexibility to create your own custom script or program to insert the desired data into your database.

woven ruin
#

adding to to the information:
https://github.com/aws-amplify/amplify-backend/issues/875: RFC on seeding data
While as anil suggested you may need to create a script for initial seeding. you can additionally use the console to seed data up to a 100 records at a time for the deployed branches. The documentation is currently in works but these are the steps
https://github.com/aws-amplify/docs/pull/7814/files#diff-cf8162edf6df301e24676c0922041f4f24646f847e583cb878b1342485b8af2bR66

GitHub

Home to all tools related to Amplify's code-first DX (Gen 2) for building fullstack apps on AWS - Issues · aws-amplify/amplify-backend

GitHub

Description of changes:
Console pages:
User management
file storage
Data manager
Related GitHub issue #, if available:
Instructions
If this PR should not be merged upon approval for any reason, ple...

spark geyser
#

Many thanks

nocturne torrentBOT
#

✅ - Seed Dynamo DB