{"id":27235766,"url":"https://github.com/helmless/google-workload-identity-federation-terraform-module","last_synced_at":"2026-02-19T12:33:29.353Z","repository":{"id":263608813,"uuid":"890895657","full_name":"helmless/google-workload-identity-federation-terraform-module","owner":"helmless","description":"A Terraform module to quickly setup a workload identity federation pool that allows your Github Actions to deploy resources in GCP.","archived":false,"fork":false,"pushed_at":"2024-12-04T04:55:44.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T06:51:27.454Z","etag":null,"topics":["google","terraform-module"],"latest_commit_sha":null,"homepage":"https://helmless.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helmless.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-11-19T11:20:38.000Z","updated_at":"2025-03-29T17:43:56.000Z","dependencies_parsed_at":"2025-04-12T05:15:20.996Z","dependency_job_id":null,"html_url":"https://github.com/helmless/google-workload-identity-federation-terraform-module","commit_stats":null,"previous_names":["helmless/google-workload-identity-federation-terraform-module"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/helmless/google-workload-identity-federation-terraform-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgoogle-workload-identity-federation-terraform-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgoogle-workload-identity-federation-terraform-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgoogle-workload-identity-federation-terraform-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgoogle-workload-identity-federation-terraform-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helmless","download_url":"https://codeload.github.com/helmless/google-workload-identity-federation-terraform-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helmless%2Fgoogle-workload-identity-federation-terraform-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29613216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["google","terraform-module"],"created_at":"2025-04-10T16:59:11.449Z","updated_at":"2026-02-19T12:33:29.282Z","avatar_url":"https://github.com/helmless.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helmless/google-workload-identity-federation-terraform-module\n\nA [Terraform][terraform] module to create and manage a\nGoogle Workload Identity Federation Pool in [Google Cloud][goolge-cloud].\n\nThe pool allows Github Actions to authenticate with Google Cloud and to deploy to Google Cloud Run.\n\n[goolge-cloud]: https://cloud.google.com\n[terraform]: https://www.terraform.io\n\n# asdf tools\n\nThis repository has a _.tools-versions_ file used by [asdf](https://asdf-vm.com/) to install the necessary tools. For this you need the following additional plugins:\n\n```\nasdf plugin add terraform-docs https://github.com/looztra/asdf-terraform-docs\nasdf plugin add tflint https://github.com/skyzyx/asdf-tflint\nasdf install\n```\n\n## `/repository` Sub-Module\n\nYou can use the `/repository` sub-module to create a principal set for a specific repository. This is useful if you want to grant access to a specific repository.\n\nSee the [`repository/` README](./repository/README.md) for more information.\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n\n\n## Usage\n\n```hcl\nmodule \"github_federation\" {\n  source              = \"github.com/helmless/google-workload-identity-federation-terraform-module?ref=v0.1.0\"\n  github_organization = \"helmless\"\n}\n```\n\n## Required Inputs\n\nThe following input variables are required:\n\n### \u003ca name=\"input_github_organization\"\u003e\u003c/a\u003e [github\\_organization](#input\\_github\\_organization)\n\nDescription: The GitHub organization to bind to the workload identity pool and provider\n\nType: `string`\n\n## Optional Inputs\n\nThe following input variables are optional (have default values):\n\n### \u003ca name=\"input_id\"\u003e\u003c/a\u003e [id](#input\\_id)\n\nDescription: The id of the workload identity pool and provider\n\nType: `string`\n\nDefault: `\"github\"`\n\n## Outputs\n\nThe following outputs are exported:\n\n### \u003ca name=\"output_organization_principal_set_id\"\u003e\u003c/a\u003e [organization\\_principal\\_set\\_id](#output\\_organization\\_principal\\_set\\_id)\n\nDescription: The principal set id for the GitHub organization to be used in IAM policies and bindings. Warning: this will grant all repositories in your Github organization the IAM role you bind this to. Use the repository\\_principal\\_set\\_id for more granular control.\n\n### \u003ca name=\"output_pool_name\"\u003e\u003c/a\u003e [pool\\_name](#output\\_pool\\_name)\n\nDescription: The name of the workload identity pool. Example: projects/1234567890/locations/global/workloadIdentityPools/github\n\n### \u003ca name=\"output_provider_name\"\u003e\u003c/a\u003e [provider\\_name](#output\\_provider\\_name)\n\nDescription: The name of the workload identity provider.\n\n### \u003ca name=\"output_repository_principal_set_id_prefix\"\u003e\u003c/a\u003e [repository\\_principal\\_set\\_id\\_prefix](#output\\_repository\\_principal\\_set\\_id\\_prefix)\n\nDescription: The principal set id for the GitHub repository to be used in IAM policies and bindings. You must append the repository name to this id to use it.\n\n## Requirements\n\nThe following requirements are needed by this module:\n\n- \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) (\u003e= 1.9.6, \u003c 2)\n\n- \u003ca name=\"requirement_google\"\u003e\u003c/a\u003e [google](#requirement\\_google) (\u003e= 5.0)\n\n## Providers\n\nThe following providers are used by this module:\n\n- \u003ca name=\"provider_google\"\u003e\u003c/a\u003e [google](#provider\\_google) (6.12.0)\n\n## Modules\n\nNo modules.\n\n## Resources\n\nThe following resources are used by this module:\n\n- [google_iam_workload_identity_pool.github](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool) (resource)\n- [google_iam_workload_identity_pool_provider.github](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool_provider) (resource)\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmless%2Fgoogle-workload-identity-federation-terraform-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelmless%2Fgoogle-workload-identity-federation-terraform-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmless%2Fgoogle-workload-identity-federation-terraform-module/lists"}