{"id":22656895,"url":"https://github.com/bakseter/platform","last_synced_at":"2025-03-29T08:11:19.922Z","repository":{"id":266080952,"uuid":"896063508","full_name":"bakseter/platform","owner":"bakseter","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-09T14:03:25.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T14:29:04.564Z","etag":null,"topics":[],"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/bakseter.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":"2024-11-29T13:22:30.000Z","updated_at":"2025-03-09T14:03:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3140234-7dad-4f71-bfc5-67f0724fe065","html_url":"https://github.com/bakseter/platform","commit_stats":null,"previous_names":["bakseter/platform"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fplatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fplatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fplatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fplatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bakseter","download_url":"https://codeload.github.com/bakseter/platform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156419,"owners_count":20732397,"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","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":[],"created_at":"2024-12-09T10:16:49.613Z","updated_at":"2025-03-29T08:11:19.917Z","avatar_url":"https://github.com/bakseter.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# platform\n\n## Bootstrap\n\n**1.** Create project `platform` in Hetzner Cloud and workspace `platform` in Terraform Cloud.\nTerraform Cloud username/organization should be the same as your GitHub username/organization.\n\n**2.** Run this command to create a Hetzner Cloud context for the project:\n\n```bash\nhcloud context create platform\n```\n\n**3.** Get API token from Hetzner Cloud with read/write access, and save as both GitHub secret named `HCLOUD_TOKEN` and as a Terraform Cloud variable with name `hcloud_token`.\n\n**4.** Get API token from Terraform Cloud and save as GitHub secret with name `TF_API_TOKEN`.\n\n**5.** Create an ED25519 SSH key pair and save them as the two Terraform Cloud variables `ssh_public_key` and `ssh_private_key`.\n\n**6.** Push to `master`, triggering GitHub Actions to build and deploy the platform using Packer and Terraform.\n\n**7.** Uncomment the two provider blocks for Kubernetes and Helm in `main.tf`, and add your applications to the list in the `app`-module.\nPush to `master` again to deploy the applications(s) to the newly created Kubernetes cluster.\n\n**8.** Create a Vercel project for each frontend. Paste `vercel_token` into TFC and uncomment Vercel provider block in `main.tf`.\n\n**9.** Create Google OAuth credentials and save them as `auth_google_id` and `auth_google_secret` in TFC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakseter%2Fplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakseter%2Fplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakseter%2Fplatform/lists"}