{"id":25615204,"url":"https://github.com/wednesday-solutions/multi-cloud-terraform-module","last_synced_at":"2026-04-14T23:33:58.288Z","repository":{"id":190122613,"uuid":"605071979","full_name":"wednesday-solutions/multi-cloud-terraform-module","owner":"wednesday-solutions","description":"Terraform module that creates and deploys your kubernetes cluster across multiple cloud infrastructure providers like AWS and GCP. It sets up a load balancer that round-robins requests across clusters. Whether it's AWS or others, downtime’s got nothing on you.","archived":false,"fork":false,"pushed_at":"2023-03-22T07:46:22.000Z","size":65,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-22T03:18:53.570Z","etag":null,"topics":["automation","aws","devops","gcp","iac","infrastructure-as-code","k8s","kubernetes","multi-cloud","setup","terraform"],"latest_commit_sha":null,"homepage":"https://wednesday.is/?utm_source=github\u0026utm_medium=mutli-cloud-terraform","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wednesday-solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-22T11:38:22.000Z","updated_at":"2024-07-26T08:20:54.000Z","dependencies_parsed_at":"2023-08-23T10:17:53.848Z","dependency_job_id":null,"html_url":"https://github.com/wednesday-solutions/multi-cloud-terraform-module","commit_stats":null,"previous_names":["wednesday-solutions/multi-cloud-terraform-module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wednesday-solutions/multi-cloud-terraform-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fmulti-cloud-terraform-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fmulti-cloud-terraform-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fmulti-cloud-terraform-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fmulti-cloud-terraform-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wednesday-solutions","download_url":"https://codeload.github.com/wednesday-solutions/multi-cloud-terraform-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fmulti-cloud-terraform-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31819873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","aws","devops","gcp","iac","infrastructure-as-code","k8s","kubernetes","multi-cloud","setup","terraform"],"created_at":"2025-02-22T03:18:53.931Z","updated_at":"2026-04-14T23:33:58.270Z","avatar_url":"https://github.com/wednesday-solutions.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Multi-Cloud Module\n\n\u003e Terraform module for multi-cloud infrastructure (EKS/GKE)\n\nThe goal here is to provision multi-cloud infrastructure using Kubernetes services from different cloud providers (AWS, GCP) that could bring forth several advantages including high availability, optimal performance and increased flexibility.\n\n## Prequisites\n\n- AWS Account\n- GCP Project\n- CLI tools\n  - terraform\n  - kubectl\n  - aws\n  - gcloud\n\n## Modules\n\n- [`aws-eks-vpc`](./modules/aws-eks-vpc/) - EKS compliant VPC\n- [`aws-eks-fargate`](./modules/aws-eks-fargate/) - EKS cluster with Fargate profile\n- [`aws-eks-lbc-addon`](./modules/aws-eks-lbc-addon/) - AWS load balancer controller add-on\n- [`aws-ec2-nginx`](./modules/aws-ec2-nginx/) - NGINX server in EC2 instance\n- [`gcp-gke-autopilot`](./modules/gcp-gke-autopilot/) - GKE cluster in autopilot mode\n\n## Example\n\n1. Create EKS cluster with Fargate profile and AWS load balancer controller\n\n```bash\n\n# 1. Go to directory\ncd examples/aws-eks-fargate\n\n# 2. Create terraform variables file.\ncp terraform.tfvars.sample terraform.tfvars\n\n# 3. Enter AWS credentials in terraform.tfvars\naws_access_key_id     = \"\u003cACCESS_KEY\u003e\"\naws_access_secret_key = \"\u003cACCESS_SECRET\u003e\"\n\n# 3. Initialize terraform\nterraform init\n\n# 4. Apply infrastructure\nterraform apply\n```\n\n2. Create GKE cluster in autopilot mode\n\n```bash\n\n# 1. Go to directory\ncd examples/gcp-gke-autopilot\n\n# 2. Create terraform variables file.\ncp terraform.tfvars.sample terraform.tfvars\n\n# 3. Enter GCP project ID in terraform.tfvars\nproject_id            = \"\u003cPROJECT_ID\u003e\"\n\n# 3. Initialize terraform\nterraform init\n\n# 4. Apply infrastructure\nterraform apply\n```\n\n3. Deploy sample application to both EKS and GCP cluster. This will also setup load balancers in respective cloud cluster\n\n```bash\n\n# 1. Go to directory\ncd examples/multi-cloud-sample-app\n\n# 2. Create terraform variables file.\ncp terraform.tfvars.sample terraform.tfvars\n\n# 3. Enter AWS \u0026 GCP credentials in terraform.tfvars\naws_access_key_id     = \"\u003cACCESS_KEY\u003e\"\naws_access_secret_key = \"\u003cACCESS_SECRET\u003e\"\nproject_id            = \"\u003cPROJECT_ID\u003e\"\n\n# 3. Initialize terraform\nterraform init\n\n# 4. Apply infrastructure\nterraform apply\n```\n\n4. Provision NGINX load balancer in EC2 instance which distributes the traffic to EKS \u0026 GKE load balancer\n\n```bash\n\n# 1. Go to directory\ncd examples/multi-cloud-nginx-lb\n\n# 2. Create terraform variables file.\ncp terraform.tfvars.sample terraform.tfvars\n\n# 3. Enter AWS \u0026 GCP credentials in terraform.tfvars\naws_access_key_id     = \"\u003cACCESS_KEY\u003e\"\naws_access_secret_key = \"\u003cACCESS_SECRET\u003e\"\nproject_id            = \"\u003cPROJECT_ID\u003e\"\n\n# 3. Initialize terraform\nterraform init\n\n# 4. Apply infrastructure\nterraform apply\n\n```\n\n## Roadmap\n\n- [x] AWS EKS Cluster\n- [x] GKE cluster autopilot mode\n- [ ] EKS multi-region cluster using Global Accelerator\n- [ ] GKE multi-region cluster using MCS (Multi Cluster Service)\n- [ ] Multi-cloud load balancing with failover\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fmulti-cloud-terraform-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwednesday-solutions%2Fmulti-cloud-terraform-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fmulti-cloud-terraform-module/lists"}