This directory contains code as an example of structuring Terraform configurations for a large-size infrastructure with several AWS accounts, off-the-shelf infrastructure modules.
prod
andstage
are separate environments which share nothing and they live in separate AWS accounts- Each environment uses different version of off-the-shelf infrastructure module (
alb
) - Each environment uses the same version of internal module
modules/network
since it is sourced from a local directory.