Terragrunt to trigger terraform modules with their representative provider.
See Also:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Install terraform
- Install terragrunt
Put terragrunt component on your infrastructure as code repository.
Assume:
|-- infrastructure
| |-- terragrunt
| | |-- components <- CLONE TERRAGRUNT COMPONENT HERE
| | | |-- 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 [email protected]:bayudwiyansatria/terragrunt-components.git components
Or you can use submodule to get updates from community
git submodule add [email protected]:bayudwiyansatria/terragrunt-components.git components
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