Open NathanielRose opened 4 years ago
@NathanielRose @yradsmikham is this still needed?
@andrebriggs Yes! This would be a nice enhancement to spk infra generate
.
@NathanielRose @yradsmikham is the main benefit that we are able to generate multiple sub directories in parallel? If so, have we measured how much of a time savings this would be?
@andrebriggs, that is correct. I measure this as something between a S to a M.
As a: Developer
I want: to generate Terraform files for a multi-cluster based on parent-leaf definitions in parallel
So that: Accelerate the generation of my spk template across multiple deployment regions in one command.
Describe the solution you'd like: This is an extension to #721
Acceptance Criteria: Upon generation,
spk infra generate
(e.g.spk infra generate -p discovery-service
) should:spk infra generate -p discovery-service/east
should generate east leaf definition with discover-service parent partial config.spk infra generate
should generate all leaf subdirectories to 1 level with a partial config implementation.Additional context: https://github.com/CatalystCode/bedrock-end-to-end-dx#generating-deployable-cluster-terraform-scripts
Does this require updates to documentation?: Yes