Warning
This document has not been updated for a while now. It may be out of date.
Last updated:
9 Jun 2020
govuk-aws: 5. Terraform Module Location
Date: 2017-07-04
Status
Accepted
Context
Document structure and deployment of Terraform modules.
Terraform can fetch modules from multiple sources (e.g. Github, local files, S3).
Decision
Whilst developing a module we will source it locally (within this repository).
Once we feel our modules "ready" we will consider moving them to separate repositories.
Consequences
Keeping modules locally will make them harder for others to use but make rapid iteration easier.
Once modules are separated we will need processes to propagate changes in dependent modules to our main Terraform projects.