Turn the Terraform base template into module-like
Proposal
This change refactors the latest Terraform top and Base templates. It turns the Base template into a self-contained module, and the top template an template using the functions exported from the Base template with all the project-specific aspects.
Specifically:
- no stage names in the Base template
- no
only/except/rule
statements in the Base template - no
when
statement in the Base template - no dependencies from the top template should be coded into the Base template
Definition of Done
-
Change the template -
Remove the cleanup job from the top template -
Add troubleshooting docs as this is a breaking change -
Document the jobs within the CI template -
Add a link and short description of the Base template to the docs
Edited by Viktor Nagy (GitLab)