LocalLegend project on terraform architecture
Stack for resources locallegend apps Stack providers:
- github
- aws
Automatic creation of a Google cluster with an ingress route
How to use:
- Create google project and set project_id in gke-cluster/main.tf and Set main.tf region and zone
- Create service role in IAM and added file gke-cluster/gcp_creds.json and gke-app/gcp_creds.json
- cd gke-cluster and terraform apply
Automatic deploy helm applications
File .auto.tfvars required envs
aws_region
dynanodb_table_name_runners
aws_access_key
aws_secret_key
mongodb_username
mongodb_password
postgres_db
postgres_user
postgres_password
keycloak_user
keycloak_password
rails_master_key
npm_token
Require! file gcp_creds.json
How to use:
- Download k8s cluster access to ~/.kube/config
gcloud container clusters get-credentials locallegend-cluster --zone asia-northeast1-a
- Get ingress route ip
kubectl get svc -n traefik
- Set ingress route ip for custom domains
- cd gke-app and terraform apply