mach-composer / mach-composer-cli

MACH composer is an orchestration tool for modern MACH ecosystems, powered by Terraform infrastructure-as-code underneath.
https://docs.machcomposer.io
MIT License
48 stars 10 forks source link

Feature: provide a way to load example data in your environment #23

Open pimvernooij opened 3 years ago

pimvernooij commented 3 years ago

When using mach composer to create and manage your development environments, you most likely want to load some example data into the environment, for testing.

Would it be useful to generalise this via mach composer? mach load_exampledata as suggested by @tleguijt ?

tleguijt commented 3 years ago

At the moment, MACH uses the terraform subdir to load the component as Terraform module. We can extend this further by being able to supply the following directories that MACH can utilise:

We could provide a mach load_example_data or mach load example_data (in case we might want to be able to load other types of data?)

boro2g commented 1 year ago

If this concept could be extended to content, for example amplience content - that would facilitate spawning new envs in one hit more easily.

Note, a few challenges we hit in other projects around this concept was how to make the seeding run only once, and then how to layer on subsets of the baselining data if you need to turn dev from baseline1 to baseline2