{"id":15156485,"url":"https://github.com/hadenlabs/terraform-github-iam","last_synced_at":"2025-10-13T06:36:31.167Z","repository":{"id":46631101,"uuid":"339409384","full_name":"hadenlabs/terraform-github-iam","owner":"hadenlabs","description":"github iam for terraform","archived":false,"fork":false,"pushed_at":"2022-02-28T03:55:49.000Z","size":425,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-07T01:04:46.799Z","etag":null,"topics":["github","hadenlabs","iam","peru","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hadenlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"docs/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["hadenlabs"],"patreon":null,"open_collective":null,"ko_fi":"luismayta","tidelift":null,"community_bridge":null,"liberapay":"luismayta","issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/luismayta","https://www.buymeacoffee.com/luismayta"]}},"created_at":"2021-02-16T13:35:44.000Z","updated_at":"2024-08-18T18:47:44.000Z","dependencies_parsed_at":"2022-09-17T12:11:48.128Z","dependency_job_id":null,"html_url":"https://github.com/hadenlabs/terraform-github-iam","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hadenlabs/terraform-github-iam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadenlabs%2Fterraform-github-iam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadenlabs%2Fterraform-github-iam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadenlabs%2Fterraform-github-iam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadenlabs%2Fterraform-github-iam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadenlabs","download_url":"https://codeload.github.com/hadenlabs/terraform-github-iam/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadenlabs%2Fterraform-github-iam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013972,"owners_count":26085429,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github","hadenlabs","iam","peru","terraform","terraform-modules"],"created_at":"2024-09-26T19:22:01.739Z","updated_at":"2025-10-13T06:36:31.151Z","avatar_url":"https://github.com/hadenlabs.png","language":"Go","readme":" \u003c!-- Space: TerraformGithubIam --\u003e\n\u003c!-- Title: Project --\u003e\n\n\u003c!--\n\n\n  ** DO NOT EDIT THIS FILE\n  **\n  ** 1) Make all changes to `provision/generator/README.yaml`\n  ** 2) Run`task readme` to rebuild this file.\n  **\n  ** (We maintain HUNDREDS of open source projects. This is how we maintain our sanity.)\n  **\n\n\n  --\u003e\n\n[![Latest Release](https://img.shields.io/github/release/hadenlabs/terraform-github-iam)](https://github.com/hadenlabs/terraform-github-iam/releases) [![Lint](https://img.shields.io/github/workflow/status/hadenlabs/terraform-github-iam/lint-code)](https://github.com/hadenlabs/terraform-github-iam/actions?workflow=lint-code) [![CI](https://img.shields.io/github/workflow/status/hadenlabs/terraform-github-iam/ci)](https://github.com/hadenlabs/terraform-github-iam/actions?workflow=ci) [![Test](https://img.shields.io/github/workflow/status/hadenlabs/terraform-github-iam/test)](https://github.com/hadenlabs/terraform-github-iam/actions?workflow=test) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow)](https://conventionalcommits.org) [![KeepAChangelog](https://img.shields.io/badge/Keep%20A%20Changelog-1.0.0-%23E05735)](https://keepachangelog.com)\n\n# terraform-github-iam\n\nTerraform module to provision an github iam.\n\n## Requirements\n\nThis is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:\n\n- [Pyenv](https://github.com/pyenv/pyenv)\n- [Docker](https://www.docker.com/)\n- [python](https://www.python.org)\n- [taskfile](https://github.com/go-task/task)\n\n## Usage\n\n```hcl\n  module \"main\" {\n    source = \"hadenlabs/iam/github\"\n    version = \"0.2.1\"\n\n    providers = {\n      github = github\n    }\n\n    team        = {\n      \"name\" = \"name-team\"\n      \"description = \"team description\"\n      \"privacy\" = \"closed\"\n    }\n    maintainers = [\"user-github\"]\n    members     = [\"user-github\"]\n  }\n```\n\nFull working examples can be found in [examples](./examples) folder.\n\n## Examples\n\n### common\n\n```hcl\n  module \"main\" {\n      source = \"hadenlabs/iam/github\"\n      version = \"0.2.1\"\n\n      providers = {\n        github = github\n      }\n\n      team        = {\n        \"name\" = \"name-team\"\n        \"description = \"team description\"\n        \"privacy\" = \"closed\"\n      }\n      maintainers = [\"user-github\"]\n      members     = [\"user-github\"]\n  }\n\n```\n\n### implement members, teams and permissions\n\n```hcl\n  module \"main\" {\n      source = \"hadenlabs/iam/github\"\n      version = \"0.2.1\"\n\n      providers = {\n        github = github\n      }\n\n      team        = {\n        \"name\" = \"name-team\"\n        \"description = \"team description\"\n        \"privacy\" = \"closed\"\n      }\n      permissions = [\n        {\n          repository = \"name repository\",\n          permission = \"pull\",\n        },\n      ]\n      maintainers = [\"user-github\"]\n      members     = [\"user-github\"]\n  }\n\n```\n\n \u003c!-- BEGIN_TF_DOCS --\u003e\n\n## Requirements\n\n| Name                                                                     | Version |\n| ------------------------------------------------------------------------ | ------- |\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement_terraform) | \u003e= 0.13 |\n| \u003ca name=\"requirement_github\"\u003e\u003c/a\u003e [github](#requirement_github)          | \u003e=4.5.0 |\n\n## Providers\n\n| Name                                                      | Version |\n| --------------------------------------------------------- | ------- |\n| \u003ca name=\"provider_github\"\u003e\u003c/a\u003e [github](#provider_github) | \u003e=4.5.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n| --- | --- |\n| [github_team.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team) | resource |\n| [github_team_membership.maintainers](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_membership) | resource |\n| [github_team_membership.members](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_membership) | resource |\n| [github_team_repository.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_repository) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n| --- | --- | --- | --- | :-: |\n| \u003ca name=\"input_maintainers\"\u003e\u003c/a\u003e [maintainers](#input_maintainers) | This members role maintainers | `list(string)` | `[]` | no |\n| \u003ca name=\"input_members\"\u003e\u003c/a\u003e [members](#input_members) | This members role member | `list(string)` | `[]` | no |\n| \u003ca name=\"input_permissions\"\u003e\u003c/a\u003e [permissions](#input_permissions) | Add permissions of repository for team | \u003cpre\u003elist(object({\u003cbr\u003e repository = string\u003cbr\u003e permission = string\u003cbr\u003e }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_team\"\u003e\u003c/a\u003e [team](#input_team) | This team to create | \u003cpre\u003eobject({\u003cbr\u003e name = string\u003cbr\u003e description = string\u003cbr\u003e privacy = string\u003cbr\u003e })\u003c/pre\u003e | n/a | yes |\n\n## Outputs\n\n| Name                                                                    | Description                            |\n| ----------------------------------------------------------------------- | -------------------------------------- |\n| \u003ca name=\"output_maintainers\"\u003e\u003c/a\u003e [maintainers](#output_maintainers)    | instance of maintainers of team github |\n| \u003ca name=\"output_members\"\u003e\u003c/a\u003e [members](#output_members)                | instance of members of team github     |\n| \u003ca name=\"output_team\"\u003e\u003c/a\u003e [team](#output_team)                         | instance of team                       |\n| \u003ca name=\"output_team_members\"\u003e\u003c/a\u003e [team_members](#output_team_members) | instance of members for team github    |\n\n\u003c!-- END_TF_DOCS --\u003e\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/hadenlabs/terraform-github-iam/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/hadenlabs/terraform-github-iam/issues) to report any bugs or file feature requests.\n\n### Development\n\nIn general, PRs are welcome. We follow the typical \"fork-and-pull\" Git workflow.\n\n1.  **Fork** the repo on GitHub\n2.  **Clone** the project to your own machine\n3.  **Commit** changes to your own branch\n4.  **Push** your work back up to your fork\n\n5.  Submit a **Pull Request** so that we can review your changes\n\n**NOTE:** Be sure to rebase the latest changes from \"upstream\" before making a pull request!\n\n## Module Versioning\n\nThis Module follows the principles of [Semantic Versioning (SemVer)](https://semver.org/).\n\nUsing the given version number of `MAJOR.MINOR.PATCH`, we apply the following constructs:\n\n1. Use the `MAJOR` version for incompatible changes.\n1. Use the `MINOR` version when adding functionality in a backwards compatible manner.\n1. Use the `PATCH` version when introducing backwards compatible bug fixes.\n\n### Backwards compatibility in `0.0.z` and `0.y.z` version\n\n- In the context of initial development, backwards compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. (Initial development)\n- In the context of pre-release, backwards compatibility in versions `0.y.z` is **not guaranteed** when `y` is increased. (Pre-release)\n\n## Copyright\n\nCopyright © 2018-2021 [Hadenlabs](https://hadenlabs.com)\n\n## Trademarks\n\nAll other trademarks referenced herein are the property of their respective owners.\n\n## License\n\nThe code and styles are licensed under the LGPL-3.0 license [See project license.](LICENSE).\n\n## Don't forget to 🌟 Star 🌟 the repo if you like terraform-github-iam\n\n[Your feedback is appreciated](https://github.com/hadenlabs/terraform-github-iam/issues)\n","funding_links":["https://github.com/sponsors/hadenlabs","https://ko-fi.com/luismayta","https://liberapay.com/luismayta","https://www.paypal.me/luismayta","https://www.buymeacoffee.com/luismayta"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadenlabs%2Fterraform-github-iam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadenlabs%2Fterraform-github-iam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadenlabs%2Fterraform-github-iam/lists"}