Skip to content

bayudwiyansatria/terraform-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Modules

Contributor Covenant

Terraform Modules For Terragrunt

See Also:

Table of Contents

Getting Started

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.

Prerequisites

  1. Install terraform
  2. Install terragrunt

Installation

Put terragrunt component on your infrastructure as code repository.

Assume:

|-- infrastructure
|   |-- terraform <- CLONE tERRAFORM MODULES HERE
|   |   |-- terraform-helm-metrics-server
|   |       |-- main.tf
|   |       `-- variables.tf
|   |   |-- terraform-helm-kubernetes-dashboard
|   |       |-- main.tf
|   |       `-- variables.tf
|   |   `-- terraform-helm-nginx-ingress-controller
|   |       |-- main.tf
|   |       `-- variables.tf
|   |-- 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/terraform-modules.git terraform

Or you can use submodule to get updates from community

git submodule add git@github.com:bayudwiyansatria/terraform-modules.git terraform

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