{"id":20359385,"url":"https://github.com/saidsef/terraform-gcp-github-oidc","last_synced_at":"2026-05-17T08:32:41.842Z","repository":{"id":200029382,"uuid":"703530312","full_name":"saidsef/terraform-gcp-github-oidc","owner":"saidsef","description":"Terraform module to configure GitHub Actions as an IAM OIDC identity provider in GCP","archived":false,"fork":false,"pushed_at":"2025-01-05T10:18:17.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T01:50:42.710Z","etag":null,"topics":["gcp","gcp-automation-gitops","gcp-github","github-actions","identity-pool","oidc","openid","openid-connect","terraform-gcp","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saidsef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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},"funding":{"custom":["https://revolut.me/saidsef"]}},"created_at":"2023-10-11T12:16:43.000Z","updated_at":"2025-01-05T10:17:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c89ea3e-63fa-4e0b-886c-6904a2d001e1","html_url":"https://github.com/saidsef/terraform-gcp-github-oidc","commit_stats":null,"previous_names":["saidsef/terraform-gcp-github-oidc"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-gcp-github-oidc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-gcp-github-oidc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-gcp-github-oidc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-gcp-github-oidc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saidsef","download_url":"https://codeload.github.com/saidsef/terraform-gcp-github-oidc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895597,"owners_count":20038543,"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":["gcp","gcp-automation-gitops","gcp-github","github-actions","identity-pool","oidc","openid","openid-connect","terraform-gcp","terraform-module"],"created_at":"2024-11-14T23:33:40.953Z","updated_at":"2026-05-17T08:32:36.822Z","avatar_url":"https://github.com/saidsef.png","language":"HCL","funding_links":["https://revolut.me/saidsef"],"categories":[],"sub_categories":[],"readme":"# Terraform GCP GitHub OIDC Provider\n[![CI](https://github.com/saidsef/terraform-gcp-github-oidc/actions/workflows/ci.yaml/badge.svg)](#deployment--usage) ![GitHub issues](https://img.shields.io/github/issues-raw/saidsef/terraform-gcp-github-oidc) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE.md)\n\nThis Terraform module enables you to configure GitHub Actions as an GCP IAM OIDC identity provider in GCP, which enables GitHub Actions to access resources within an GCP account(s) without requiring long-lived credentials to be stored as GitHub secrets.\n\n## Prerequisites\n\n- GCP Project(s) and credentials\n- GitHub repository\n- Terraform \u003e= 1.x\n- Profit?\n\n## Deployment / Usage\n\n```terraform\nprovider \"google\" {\n  region  = var.region\n  project = var.project_id\n}\n\nprovider \"google-beta\" {\n  region  = var.region\n  project = var.project_id\n}\n\nmodule \"github_oidc\" {\n  source  = \"saidsef/github-oidc/gcp\"\n  version = \"\u003e= 1\"\n\n  project_id = var.project_id\n  pool_id    = \"github-action\"\n\n  repositories = [{\n    org_name = \"saidsef\"\n    repository = \"terraform-gcp-github-oidc\"\n  }]\n\n}\n```\n\n\u003e **_NOTE:_** You can undelete a provider for up to 30 days after deletion. After 30 days, deletion is permanent. Until a provider is permanently deleted, you cannot reuse its name when creating a new provider.\n\n## Provider Specifications and Requirements\n\nPlease see [TERRAFORM.md](./TERRAFORM.md)\n\n## GitHub Actions\n\nRetrieve temporary credentials:\n\n## Source\n\nOur latest and greatest source of `terraform-gcp-github-oidc` can be found on [GitHub](https://github.com/saidsef/terraform-gcp-github-oidc/fork). Fork us!\n\n## Contributing\n\nWe would :heart: you to contribute by making a [pull request](https://github.com/saidsef/terraform-gcp-github-oidc/pulls).\n\nPlease read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.\n\n## Useful Links\n\n- [GitHub OpenID Connect Token](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)\n- [Terraform Pool Provider](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool_provider)\n- [Terraform Attribute Maping](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool_provider#attribute_mapping)\n- [Terraform Token Specification](https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials/workload-identity-tokens#token-specification)\n- [GCP Configuration](https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials/gcp-configuration)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Fterraform-gcp-github-oidc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaidsef%2Fterraform-gcp-github-oidc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Fterraform-gcp-github-oidc/lists"}