{"repo":"trussworks/terraform-layout-example","free":true,"listed":false,"github":"https://github.com/trussworks/terraform-layout-example","clone":"git clone https://github.com/trussworks/terraform-layout-example.git","description":"Example of a Truss Terraform project","language":"HCL","stars":195,"topics":["template","terraform"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"terraform-layout-example This repository is meant to serve as an example of how Truss builds out repositories for Terraform deployments. We've taken care to add as much documentation and code comments around why we do things the way they are outlined here as possible, so that newcomers to these patterns can gain some understanding of why we did things this way. This repository is meant to be a living document -- if we change our method of doing things, we should update this repository, and engineers who have questions about why we do things that are not adequately explained or who have suggestions for improvements should feel free to file issues and/or PRs to improve the quality of the repo. Top-Level The following files are expected to be found: - README.md — Should contain, at the very least, a configuration guide for accessing the necessary cloud services. For example, instructions on using aws-vault to configure your AWS credentials. - .envrc — Global settings across accounts. E.g., AWS VAULT KEYCHAIN NAME , CHAMBER KMS KEY ALIAS . See the example .envrc file. bin The bin directory typically contains an aws-vault-wrapper script with symlinks for things like aws , chamber , packer , terraform , etc. depending on the project's needs. Additional tools and scripts needed for managing the infrastructure also go here. Modules directory In general, we should avoid having modules in the Terraform repository proper. We should make every effort to open source modules and add them t","default_branch":null,"files":null,"tree":[],"storefront":"/r/trussworks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/trussworks/terraform-layout-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}