{"id":27235763,"url":"https://github.com/helmless/gcp-infrastructure","last_synced_at":"2025-04-10T16:59:11.139Z","repository":{"id":266411718,"uuid":"890896262","full_name":"helmless/gcp-infrastructure","owner":"helmless","description":"A Terraform infrastructure repository to manage cloud resources for testing.","archived":false,"fork":false,"pushed_at":"2025-03-27T10:15:54.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-27T11:26:50.412Z","etag":null,"topics":["google","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/helmless.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-19T11:22:01.000Z","updated_at":"2025-03-27T10:15:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"67bceb01-a95d-49d4-8b63-194c615013e8","html_url":"https://github.com/helmless/gcp-infrastructure","commit_stats":null,"previous_names":["helmless/gcp-infrastructure"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgcp-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgcp-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgcp-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgcp-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helmless","download_url":"https://codeload.github.com/helmless/gcp-infrastructure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248259729,"owners_count":21074187,"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":["google","terraform"],"created_at":"2025-04-10T16:59:10.624Z","updated_at":"2025-04-10T16:59:11.122Z","avatar_url":"https://github.com/helmless.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helmless-gcp-infrastructure\n\nThis repository contains the Terraform code to create the infrastructure for the [helmless](https://helmless.io) GCP project using [Terramate](https://terramate.io).\n\n## Prerequisites\n\nAll tools in this project are managed using [asdf](https://asdf-vm.com/). You must install asdf and the required plugins before you can use the tools in this project.\n\n```bash\nbrew install asdf\nasdf plugin add terraform\nasdf plugin add terramate\nasdf plugin add tflint\nasdf plugin add pre-commit\n```\n\nThen run the following command to install the required versions of the tools:\n\n```bash\nasdf install\n```\n\nAnd finally, install the pre-commit hooks:\n\n```bash\npre-commit install\n```\n\n## Project Structure\n\nThe project is structured into the following [stacks](https://terramate.io/docs/cli/stacks/):\n\n- `stacks/project-factory`: Contains the base infrastructure and GCP project setup, including the state bucket.\n- `stacks/github-federation`: Contains the Github integration setup to allow the pipelines to authenticate with GCP.\n- `stacks/e2e-tests`: Contains Cloud Run Services for the e2e tests in [helmless/helmless](https://github.com/helmless/helmless).\n\n## Usage\n\nTo plan changes for all stacks, run the following command:\n\n\u003e **NOTE**  \n\u003e You must commit all changes before running this command.  \n\u003e The command will fail if there are uncommitted changes.  \n\u003e To work around this, you can set `export TM_DISABLE_SAFEGUARDS=git`\n\nAuthenticate with GCP:\n\n```bash\ngcloud auth application-default login\n```\n\nPlan the changes:\n\n```bash\nterramate script run plan\n```\n\nAnd to apply the changes, run the following command:\n\n```bash\nterramate script run apply\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmless%2Fgcp-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelmless%2Fgcp-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmless%2Fgcp-infrastructure/lists"}