Skip to content

bayudwiyansatria/infrastructure

Platforms License Code Of Conduct Support Contributing


Infrastructure Templates

Contributor Covenant

Terragrunt Templates for multiple Company/Account/Region/Environment and Modules to keep infrastructure code dry with remote backend states.

Requirements

  1. Install terraform
  2. Install terragrunt

Installation

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

Contributing

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:

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Copyright © 2017 - 2022 Public Use. All Rights Reserved.

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

Templates for Setup Infrastructure

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published