Open pimvernooij opened 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:
terraform/
dashboard/
(azure dashboard configurations)example_data/
(commercetools example data in YAML format)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?)
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
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 ?