{"id":20359389,"url":"https://github.com/saidsef/terraform-aws-github-oidc","last_synced_at":"2025-04-12T03:32:29.980Z","repository":{"id":91461591,"uuid":"563547603","full_name":"saidsef/terraform-aws-github-oidc","owner":"saidsef","description":"Terraform module to configure GitHub Actions as an IAM OIDC identity provider in AWS","archived":false,"fork":false,"pushed_at":"2025-03-01T17:36:13.000Z","size":73,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T23:07:20.514Z","etag":null,"topics":["aws","aws-iam-policies","aws-iam-roles","federated-identity","github","github-action","github-actions","oidc","openid","openid-connect","terraform"],"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":"2022-11-08T20:55:56.000Z","updated_at":"2025-03-01T17:36:15.000Z","dependencies_parsed_at":"2023-12-14T17:28:48.064Z","dependency_job_id":"108e17e7-3353-468c-b9ad-9a24b0e8c1cd","html_url":"https://github.com/saidsef/terraform-aws-github-oidc","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-aws-github-oidc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-aws-github-oidc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-aws-github-oidc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Fterraform-aws-github-oidc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saidsef","download_url":"https://codeload.github.com/saidsef/terraform-aws-github-oidc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512610,"owners_count":21116641,"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":["aws","aws-iam-policies","aws-iam-roles","federated-identity","github","github-action","github-actions","oidc","openid","openid-connect","terraform"],"created_at":"2024-11-14T23:33:41.636Z","updated_at":"2025-04-12T03:32:29.943Z","avatar_url":"https://github.com/saidsef.png","language":"HCL","funding_links":["https://revolut.me/saidsef"],"categories":[],"sub_categories":[],"readme":"# Terraform AWS GitHub OIDC Provider\n[![CI](https://github.com/saidsef/terraform-aws-github-oidc/actions/workflows/ci.yaml/badge.svg)](#deployment--usage) ![GitHub issues](https://img.shields.io/github/issues-raw/saidsef/terraform-aws-gitlab-oidc) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE.md)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsaidsef%2Fterraform-aws-github-oidc.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsaidsef%2Fterraform-aws-github-oidc?ref=badge_shield)\n\nThis Terraform module enables you to configure GitHub Actions as an AWS IAM OIDC identity provider in AWS, which enables GitHub Actions to access resources within an AWS account(s) without requiring long-lived credentials to be stored as GitHub secrets.\n\n## Prerequisites\n\n- AWS Account(s) and credentials\n- GitHub repository\n- Terraform \u003e= 1.x\n- ...\n- Profit?\n\n## Deployment / Usage\n\n```terraform\nprovider \"aws\" {\n  region = var.region\n}\n\nmodule \"github_oidc\" {\n  source  = \"saidsef/github-oidc/aws\"\n  version = \"~\u003e 2\"\n\n  attach_read_only_policy = true\n  github_organisation     = \"saidsef\"\n  github_repositories     = [{\n    name = \"terraform-aws-github-oidc\",\n    branches = [\"main\", \"pr-*\", \"*pull*\", \"*\"]\n  }]\n  tags                    = var.tags\n}\n```\n\n## Provider Specifications and Requirements\n\nPlease see [TERRAFORM.md](./TERRAFORM.md)\n\n## GitHub Actions\n\nRetrieve temporary credentials:\n\nhttps://github.com/saidsef/terraform-aws-github-oidc/blob/89b5f024f4a339469f233b5d16ca828e222c2f61/.github/workflows/ci.yaml#L80-L96\n\n## Source\n\nOur latest and greatest source of `terraform-aws-github-oidc` can be found on [GitHub](https://github.com/saidsef/terraform-aws-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-aws-github-oidc/pulls).\n\nPlease read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsaidsef%2Fterraform-aws-github-oidc.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsaidsef%2Fterraform-aws-github-oidc?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Fterraform-aws-github-oidc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaidsef%2Fterraform-aws-github-oidc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Fterraform-aws-github-oidc/lists"}