Terragrunt Templates for multiple Company/Account/Region/Environment and Modules to keep infrastructure code dry with remote backend states.
- Install terraform
- Install terragrunt
Put terragrunt component on your infrastructure as code repository.
Assume:
|-- infrastructure
| |-- terragrunt
| | |-- components
| | | |-- kubernetes-dashboard
| | | | |-- provider.hcl
| | | | `-- terragrunt.hcl
| | | |-- metrics-server
| | | | |-- provider.hcl
| | | | `-- terragrunt.hcl
| | | `-- nginx-ingress-controller
| | | |-- provider.hcl
| | | `-- terragrunt.hcl
| | |-- accounts
| | | `docker-desktop.yaml
| | |-- _templates
| | | |-- backend-local.tpl
| | | `-- backend-tfc.tpl
| | |-- live
| | | |-- bayudwiyansatria
| | | | |-- docker-desktop
| | | | | |-- dev
| | | | | | |-- metrics-server
| | | | | | | `-- terragrunt.hcl
| | | | | | |-- kubernetes-dashboard
| | | | | | | `-- terragrunt.hcl
| | | | | | `-- nginx-ingress-controller
| | | | | | `-- terragrunt.hcl
| | | | | |-- stag
| | | | | `-- prod
| | | | `-- aws
| | | | |-- dev
| | | | | |-- metrics-server
| | | | | | `-- terragrunt.hcl
| | | | | |-- kubernetes-dashboard
| | | | | | `-- terragrunt.hcl
| | | | | `-- nginx-ingress-controller
| | | | | `-- terragrunt.hcl
| | | | |-- stag
| | | | `-- prod
| | | `-- other-account
| | | |-- docker-desktop
| | | | `-- prod
| | | `-- aws
| | `-- terragrunt.hcl
| `-- terraform
| |-- metrics-server
| | `-- main.tf
| |-- nginx-ingress-controller
| | `-- main.tf
| `-- kubernetes-dashboard
| `-- main.tf
|-- README.md
|-- NOTICE
|-- LICENSE
`-- SECURITY.md
Cloning Project
git clone git@github.com:bayudwiyansatria/infrastructure.git
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Looking to contribute to our code but need some help? There's a few ways to get information:
- Connect with us on Twitter
- Like us on Facebook
- Follow us on LinkedIn
- Subscribe us on Youtube
- Log an issue here on github
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details
Copyright © 2017 - 2022 Public Use. All Rights Reserved.
- Hat tip to anyone whose code was used
- Inspiration
- etc