How ummeyhp/terraform-example-foundation works
This repository is a Terraform example foundation for building a secure Google Cloud organization. An operator applies separate Terraform projects in sequence: bootstrap establishes state and deployment permissions; organization and environment stages create shared and environment-scoped resources; networking provides alternative dual Shared VPC or hub-and-spoke designs; project and app-infrastructure stages extend the foundation for workloads. The README excerpt documents the early-stage sequence and major capabilities, but no source excerpts were supplied, so internal module calls and later-stage dependencies are not asserted.
Main entry points: 0-bootstrap Bootstrap · shared Organization resources · main.tf Terraform state and IAM · cb.tf Deployment pipeline
Components 16
Foundation setup
- Bootstrap
0-bootstrap - Terraform state and IAM
0-bootstrap/main.tf - Deployment pipeline
0-bootstrap/cb.tf
Organization governance
- Organization resources
1-org/envs/shared - Central logging
1-org/modules/centralized-logging - Environment baseline
2-environments/envs - Environment services
2-environments/modules/env_baseline
Network designs
- Dual Shared VPC
3-networks-dual-svpc - Dual network modules
3-networks-dual-svpc/modules - Hub-and-spoke
3-networks-hub-and-spoke - Hub-and-spoke modules
3-networks-hub-and-spoke/modules
Workload infrastructure
- Business-unit projects
4-projects - Project modules
4-projects/modules - Application infrastructure
5-app-infra - Application baseline
5-app-infra/modules/env_base
Other components
- Foundation operator
Connections 5
- Foundation operator → Bootstrap: runs manually
README.md - Bootstrap → Terraform state and IAM: creates state
README.md - Bootstrap → Deployment pipeline: sets up pipeline
README.md - Bootstrap → Organization resources: precedes
README.md - Organization resources → Environment baseline: precedes
README.md