{"id":16979835,"url":"https://github.com/dniel/terraform","last_synced_at":"2026-02-09T11:05:28.253Z","repository":{"id":43339584,"uuid":"254715428","full_name":"dniel/terraform","owner":"dniel","description":"This repo contains my Terraform scripts that deployes all Kubernetes manifests to my k8s clusters.","archived":false,"fork":false,"pushed_at":"2025-05-21T03:51:05.000Z","size":7473,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T04:37:30.031Z","etag":null,"topics":["auth0","helm","infrastructure-as-code","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"","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/dniel.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-10T19:10:14.000Z","updated_at":"2022-01-15T14:39:40.000Z","dependencies_parsed_at":"2023-10-05T02:59:37.667Z","dependency_job_id":"ff65e77f-521d-45a2-bf81-5a1eb69a7c92","html_url":"https://github.com/dniel/terraform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dniel/terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fterraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fterraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fterraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fterraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dniel","download_url":"https://codeload.github.com/dniel/terraform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dniel%2Fterraform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268328179,"owners_count":24232821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["auth0","helm","infrastructure-as-code","kubernetes","terraform"],"created_at":"2024-10-14T01:47:20.063Z","updated_at":"2026-02-09T11:05:28.206Z","avatar_url":"https://github.com/dniel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Publish Docker Image](https://github.com/dniel/terraform/workflows/Publish%20Docker%20Image/badge.svg)\n\n# Terraform\nThis repo contains my Terraform scripts that deployes all Kubernetes manifests to my k8s clusters.\nProviders used to deploy manifests to Kubernetes.\n- [Official Kubernetes provider for k8s resources.](https://www.terraform.io/docs/providers/kubernetes/index.html)\n- [Alpha Kubernetes provider for generic k8s manifests.](https://github.com/hashicorp/terraform-provider-kubernetes-alpha)\n- [Auth0 provider to create clients and resource servers.](https://www.terraform.io/docs/providers/auth0/index.html)\n- [Community Helm Provider for deploying Helm charts.](https://www.terraform.io/docs/providers/helm/index.html)\n- [Official AWS provider to handle Route53 registration of applications.](https://www.terraform.io/docs/providers/aws/index.html)\n\n## Kubernetes deployment\nThe terraform scripts does NOT contain the provisioning of Kubernetes itself. I have two clusters \nrunning, one in Amazon EKS deployed by cloudformation and one on-prem on VMWare deployed with Tanzu Kubernetes Grid (TKG).\n\n## Environments\nI run several deployments at the same time, both on-prem in parallel and in Amazon EKS.\nUnder the directory `envs` there is one directory for each deployment.\n\nThe different development environments for software development.\n- prod is deployed to Amazon.\n- stage is deployed to Amazon.\n- test is deployed to on-prem on VMWare Tanzu.\n- dev is deployed to on-prem  on VMWare Tanzu.\n\nIn addition\n- services is a shared services on-prem on VMWare Tanzu.\n  \nTo deploy an environment its meant to stand in its directory and do `terraform apply`\nSecrets are stored in encrypted files in the repo and contains a couple of variables \nthat are needed to run the terraform scripts.\n\n## Templates\nTwo different default templates to configure an environment with.\n\n### template\nIs a small and mostly empty base template. It contains common stuff like\na default configuration of traefik and forwardauth and not much more.\n\n### template-services\nIs a more specialized template that contains some applications that are\nmeant to be installed just once for each cluster and contains tools for\ncross-cutting concerns like logging and observability implemented with \nprometheus, grafana, loki and more.\n\n## Modules\nUnder modules I have put all my re-usable code, the environments should not contain much code itself\nbut should instead use the modules to configure deploy the software.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdniel%2Fterraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdniel%2Fterraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdniel%2Fterraform/lists"}