{"id":21130975,"url":"https://github.com/workloads/github-organization","last_synced_at":"2025-08-20T07:13:51.842Z","repository":{"id":153563905,"uuid":"528033635","full_name":"workloads/github-organization","owner":"workloads","description":"Terraform-managed GitHub Resources","archived":false,"fork":false,"pushed_at":"2025-07-21T15:34:58.000Z","size":463,"stargazers_count":4,"open_issues_count":6,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-22T23:54:15.312Z","etag":null,"topics":["github","terraform"],"latest_commit_sha":null,"homepage":"https://app.terraform.io/app/workloads/workspaces/github-organization","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/workloads.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"security.tf","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-23T14:41:44.000Z","updated_at":"2025-06-17T07:07:17.000Z","dependencies_parsed_at":"2023-10-03T15:10:02.113Z","dependency_job_id":"f0079508-7c91-4f0e-934f-c59bc7be1a62","html_url":"https://github.com/workloads/github-organization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/workloads/github-organization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fgithub-organization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fgithub-organization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fgithub-organization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fgithub-organization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workloads","download_url":"https://codeload.github.com/workloads/github-organization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fgithub-organization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271281085,"owners_count":24732127,"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-08-20T02:00:09.606Z","response_time":69,"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","terraform"],"created_at":"2024-11-20T05:42:58.254Z","updated_at":"2025-08-20T07:13:51.819Z","avatar_url":"https://github.com/workloads.png","language":"HCL","readme":"# HCP Terraform Workspace `repositories`\n\n\u003e This repository manages GitHub Configuration for [@workloads](https://github.com/workloads).\n\n## Table of Contents\n\n\u003c!-- TOC --\u003e\n* [HCP Terraform Workspace `repositories`](#hcp-terraform-workspace-repositories)\n  * [Table of Contents](#table-of-contents)\n  * [Requirements](#requirements)\n    * [Development](#development)\n  * [Usage](#usage)\n    * [Inputs](#inputs)\n    * [Outputs](#outputs)\n  * [Notes](#notes)\n    * [API Rate Limits](#api-rate-limits)\n  * [Contributors](#contributors)\n  * [License](#license)\n\u003c!-- TOC --\u003e\n\n## Requirements\n\n- HashiCorp Terraform `1.12.x` or [newer](https://developer.hashicorp.com/terraform/downloads)\n\n### Development\n\nFor development and testing of this repository:\n\n- `terraform-docs` `0.20.0` or [newer](https://terraform-docs.io/user-guide/installation/)\n\n## Usage\n\nThis repository uses a standard Terraform workflow (`init`, `plan`, `apply`).\n\nFor more information, including detailed usage guidelines, see the [Terraform documentation](https://developer.hashicorp.com/terraform/cli/commands).\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n### Inputs\n\n| Name | Description | Type | Required |\n|------|-------------|------|:--------:|\n| github_owner | This is the target GitHub organization or individual user account to manage. | `string` | yes |\n| github_token | A GitHub OAuth / Personal Access Token. | `string` | yes |\n| tfe_organization | Name of HCP Terraform Organization. | `string` | yes |\n| tfe_team_token_viewers | HCP Terraform `viewers` Team Token. | `string` | yes |\n| github_organization_email | E-mail address to use for GitHub Organization. | `string` | no |\n| issue_labels_hashicorp | HashiCorp Product-specific Issue Labels. | \u003cpre\u003elist(object({\u003cbr/\u003e    color       = string\u003cbr/\u003e    description = optional(string)\u003cbr/\u003e    name        = string\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n| organization_members | User Names and Team Associations of GitHub Organization Members. | \u003cpre\u003elist(object({\u003cbr/\u003e    username = string\u003cbr/\u003e    teams    = list(string)\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n| organization_owners | User Names of GitHub Organization Owners. | `list(string)` | no |\n| outside_collaborators | Map of Outside Collaborators. | `map(list(string))` | no |\n| repositories | List of GitHub Repositories. | \u003cpre\u003elist(object({\u003cbr/\u003e    name                   = string\u003cbr/\u003e    description            = string\u003cbr/\u003e    homepage_url           = string\u003cbr/\u003e    visibility             = string\u003cbr/\u003e    topics                 = list(string)\u003cbr/\u003e    has_issues             = bool # TODO: mark as optional\u003cbr/\u003e    has_wiki               = bool # TODO: mark as optional\u003cbr/\u003e    allow_merge_commit     = bool\u003cbr/\u003e    allow_rebase_merge     = bool\u003cbr/\u003e    delete_branch_on_merge = bool\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n| reviewer_teams | List of Reviewer Teams. | \u003cpre\u003elist(object({\u003cbr/\u003e    name_suffix = string\u003cbr/\u003e    description = string\u003cbr/\u003e    privacy     = optional(string, \"closed\")\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n| terraform_repositories | List of GitHub Repositories. | \u003cpre\u003elist(object({\u003cbr/\u003e    name                   = string\u003cbr/\u003e    description            = string\u003cbr/\u003e    homepage_url           = string\u003cbr/\u003e    visibility             = string\u003cbr/\u003e    topics                 = list(string)\u003cbr/\u003e    has_issues             = optional(bool)\u003cbr/\u003e    has_wiki               = optional(bool)\u003cbr/\u003e    allow_merge_commit     = bool\u003cbr/\u003e    allow_rebase_merge     = bool\u003cbr/\u003e    delete_branch_on_merge = bool\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n| tool_versions_config | List of Tool Versions. | \u003cpre\u003emap(object({\u003cbr/\u003e    version = string\u003cbr/\u003e  }))\u003c/pre\u003e | no |\n\n### Outputs\n\n| Name | Description |\n|------|-------------|\n| github_actions_organization_tool_versions | GitHub Actions Organization Tool Versions. |\n| github_repository_slugs | GitHub Repository slugs. |\n| github_terraform_repository_slugs | GitHub Terraform Repository slugs. |\n| github_urls | GitHub URLs. |\n| nomad_pack_registry_commands | Nomad Pack CLI Commands for Registry operations. |\n| tfe_workspace_terraform_version | Terraform version identifier of current HCP Terraform Workspace. |\n| workspace_url | HCP Terraform Workspace URL. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## Notes\n\n### API Rate Limits\n\nGitHub API interactions for non-Enterprise accounts are [limited](https://docs.github.com/en/rest/rate-limit?apiVersion=2022-11-28) to _1000_ requests per hour per repository.\n\nThe large number of resources in the `@workloads/github-organization` repository may result in rate exhaustion when `plan` and `apply` runs are carried out repeatedly and in short succession.\n\n\u003e **Note**\n\u003e For `@workloads/maintainers`: The [Makefile](https://github.com/workloads/assets/blob/main/scripts/Makefile) in `workloads/assets` provides a target to retrieve the current API usage with `make get-gh-rate-limits`\n\n## Contributors\n\nFor a list of current (and past) contributors to this repository, see [GitHub](https://github.com/workloads/github-organization/graphs/contributors).\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\").\n\nYou may download a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nSee the License for the specific language governing permissions and limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkloads%2Fgithub-organization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkloads%2Fgithub-organization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkloads%2Fgithub-organization/lists"}