This is an Infra As Code (IAC) repository which contains various codes for creation of Infrastructure on AWS cloud. Tech stack: Terraform, Kubernetes, AWS
Please have a look at the following document for the implementation guide
Bahmni Wiki - Provision AWS Infrastructure for Bahmni
This is a one-time setup that needs to be run only when the repo is cloned.
-
Install pre-commit
pip install pre-commit (or) brew install pre-commit
-
Install pre-commit dependencies
-
Initialise pre-commit hooks
pre-commit install --install-hooks
Now before every commit, the hooks will be executed.
├── ...
├── aws
├── ├── policies # aws custom policies
├── ├── roles # aws custom roles
├── terraform
| |── modules # contains reusable resources across environemts
│ ├── vpc
│ ├── eks
│ ├── ....
│ ├── main.tf # File where provider and modules are initialized
│ ├── variables.tf
│ ├── nonprod.tfvars # values for nonprod environment
│ ├── outputs.tf
│ ├── config.s3.tfbackend # backend config values for s3 backend
└── ...