- Introduction
- Features
- Requirements
- Infrastructure deployment
- First run
- Contribution
- Acknowledgements
This repository contains our AWS and Azure infrastructure described in Terraform.
Deploying Geeks Academy AWS infrastructure.
The AWS credentials and Azure Service Principal must be configured on running/deploying host.
Most of the infrastructure is defined as a Code with Terraform, so this is the basic tool which you need to install before you will try to deploy the infrastructure. Here you can find the Terraform CLI.
State file is stored on AWS S3 bucket.
NOTE: It is highly recommanded to use role-based configuration rather than storing aws credentials in your on-premis host.
NOTE: In the documentation, the process is described with usage of the Azure Cloud Shell, but of course you can use azure cli on your localhost. You don't need to create service principal too. Please contact with the DevOps team to get required ID and secret.
Before first run you have to have your S3 terraform backend bucket set up and update all main.tf
files in every project-*
directory.
PLAN and APPLY jobs should have been run in following order:
- project-iam
- project-core
- project-apps-*
terraform PLAN
job is executed on every pull request and push. Thus, there is no need to run it.
Run terraform APPLY
action with proper input according to First run order.
If you want to take part in creating this tool join us on Facebook.