How hashicorp/terraform-guides works
Main Components
• Governance: This section covers the Sentinel policies (with directories for first-generation, second-generation, and third-generation) that ensure the cloud resources comply with organization rules. Create a “Governance & Sentinel Policies” component, and include notes that these policies are cloud-specific (AWS, Azure, GCP, and even VMware) and are versioned and tested.
• Supporting Modules and Best Practices: There are also directories like “hashistack” and various examples (terraform-0.12-examples, terraform-0.13-examples) which serve as further examples or libraries that support best practices. You may note these as “Reference Modules & Examples” or “Best Practices Libraries.”
Architectural Patterns & Design Principles
• Multi-cloud Support: Mark that the configurations are provided for multiple cloud providers (AWS, Azure, GCP, VMware). This layered cloud component shows that while the Terraform core engine is common, per-cloud specifics (modules/configurations) are maintained separately.
• Environment and Testing Support: With test directories (as seen under governance, mocks, and test directories) the repository supports policy testing. Consider a “Testing & Mocks” sub-component under Governance or near infrastructure examples.
Relevant Technologies & Frameworks
• Terraform: Central technology for infrastructure provisioning.
• Sentinel: For policy as code.
• Shell scripting and automation (for operations interactions with the Terraform Enterprise API).
• Cloud provider services (AWS, Azure, GCP, and even Kubernetes clusters).
• Container tools (as seen in self-serve-infrastructure with Dockerfiles) for application deployment.