{"id":24503635,"url":"https://github.com/plus3it/terraform-github-repo","last_synced_at":"2025-07-07T01:38:38.184Z","repository":{"id":36247926,"uuid":"191827301","full_name":"plus3it/terraform-github-repo","owner":"plus3it","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-30T04:28:14.000Z","size":339,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-30T05:27:34.670Z","etag":null,"topics":[],"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/plus3it.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":"2019-06-13T20:15:58.000Z","updated_at":"2025-06-30T04:28:16.000Z","dependencies_parsed_at":"2024-02-26T05:22:43.298Z","dependency_job_id":"f4e4d8c1-0eff-4916-a86e-9521e41f4e0b","html_url":"https://github.com/plus3it/terraform-github-repo","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/plus3it/terraform-github-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plus3it%2Fterraform-github-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plus3it%2Fterraform-github-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plus3it%2Fterraform-github-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plus3it%2Fterraform-github-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plus3it","download_url":"https://codeload.github.com/plus3it/terraform-github-repo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plus3it%2Fterraform-github-repo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263999347,"owners_count":23542022,"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":[],"created_at":"2025-01-21T23:17:54.608Z","updated_at":"2025-07-07T01:38:38.129Z","avatar_url":"https://github.com/plus3it.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## terraform-github-repo\n\nA terraform module to create an organization repository and\nconfigure team access as well as branch protections.\nNote: this will only create an organizational repository\n\n## Testing\n\nAt the moment, testing is manual:\n\n```\n# Replace \"xxx\" with an your github access token, then execute the integration tests.\nexport GITHUB_TOKEN=xxx \nmake terraform/pytest PYTEST_ARGS=\"-v --nomock\"\n```\n\n\u003c!-- BEGIN TFDOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.14 |\n| \u003ca name=\"requirement_github\"\u003e\u003c/a\u003e [github](#requirement\\_github) | \u003e= 4.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_github\"\u003e\u003c/a\u003e [github](#provider\\_github) | \u003e= 4.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| github_team.teams | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of the repository | `string` | n/a | yes |\n| \u003ca name=\"input_allow_merge_commit\"\u003e\u003c/a\u003e [allow\\_merge\\_commit](#input\\_allow\\_merge\\_commit) | Whether to allow merge commits | `bool` | `false` | no |\n| \u003ca name=\"input_allow_rebase_merge\"\u003e\u003c/a\u003e [allow\\_rebase\\_merge](#input\\_allow\\_rebase\\_merge) | Whether to allow rebase merging | `bool` | `true` | no |\n| \u003ca name=\"input_allow_squash_merge\"\u003e\u003c/a\u003e [allow\\_squash\\_merge](#input\\_allow\\_squash\\_merge) | Whether to allow squash merging | `bool` | `false` | no |\n| \u003ca name=\"input_archive_on_destroy\"\u003e\u003c/a\u003e [archive\\_on\\_destroy](#input\\_archive\\_on\\_destroy) | Whether to archive on destroy instead of delete | `bool` | `false` | no |\n| \u003ca name=\"input_auto_init\"\u003e\u003c/a\u003e [auto\\_init](#input\\_auto\\_init) | Automatically initialize the repository upon creation | `bool` | `true` | no |\n| \u003ca name=\"input_branch_protection\"\u003e\u003c/a\u003e [branch\\_protection](#input\\_branch\\_protection) | Branch protection configuration | \u003cpre\u003eobject({\u003cbr/\u003e    enforce_admins         = optional(bool)\u003cbr/\u003e    push_restrictions      = optional(list(string))\u003cbr/\u003e    require_signed_commits = optional(bool)\u003cbr/\u003e    required_status_checks = optional(object({\u003cbr/\u003e      strict   = optional(bool)\u003cbr/\u003e      contexts = list(string)\u003cbr/\u003e    }))\u003cbr/\u003e    required_pull_request_reviews = optional(object({\u003cbr/\u003e      dismiss_stale_reviews           = optional(bool)\u003cbr/\u003e      dismissal_restrictions          = optional(list(string))\u003cbr/\u003e      require_code_owner_reviews      = optional(bool)\u003cbr/\u003e      required_approving_review_count = number\u003cbr/\u003e    }))\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_delete_branch_on_merge\"\u003e\u003c/a\u003e [delete\\_branch\\_on\\_merge](#input\\_delete\\_branch\\_on\\_merge) | Automatically delete head branch after a pull request is merged | `bool` | `true` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description of the repository | `string` | `null` | no |\n| \u003ca name=\"input_gitignore_template\"\u003e\u003c/a\u003e [gitignore\\_template](#input\\_gitignore\\_template) | Gitignore template to include in the repository | `string` | `null` | no |\n| \u003ca name=\"input_has_issues\"\u003e\u003c/a\u003e [has\\_issues](#input\\_has\\_issues) | Enable the GitHub Issues features on the repository | `bool` | `true` | no |\n| \u003ca name=\"input_has_projects\"\u003e\u003c/a\u003e [has\\_projects](#input\\_has\\_projects) | Enable the GitHub Projects features on the repository | `bool` | `false` | no |\n| \u003ca name=\"input_has_wiki\"\u003e\u003c/a\u003e [has\\_wiki](#input\\_has\\_wiki) | Enable the GitHub Wiki features on the repository | `bool` | `false` | no |\n| \u003ca name=\"input_homepage_url\"\u003e\u003c/a\u003e [homepage\\_url](#input\\_homepage\\_url) | URL of a page describing the project | `string` | `null` | no |\n| \u003ca name=\"input_is_template\"\u003e\u003c/a\u003e [is\\_template](#input\\_is\\_template) | Configure this repository as a template repository | `bool` | `false` | no |\n| \u003ca name=\"input_license_template\"\u003e\u003c/a\u003e [license\\_template](#input\\_license\\_template) | Type of license to include in the repository | `string` | `null` | no |\n| \u003ca name=\"input_teams\"\u003e\u003c/a\u003e [teams](#input\\_teams) | List of teams to grant permissions to the repository | \u003cpre\u003elist(object({\u003cbr/\u003e    name       = string\u003cbr/\u003e    permission = optional(string)\u003cbr/\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_template\"\u003e\u003c/a\u003e [template](#input\\_template) | Template repository used to create this repository | \u003cpre\u003eobject({\u003cbr/\u003e    owner      = string\u003cbr/\u003e    repository = string\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_topics\"\u003e\u003c/a\u003e [topics](#input\\_topics) | List of topics to apply to the repository | `list(string)` | `[]` | no |\n| \u003ca name=\"input_visibility\"\u003e\u003c/a\u003e [visibility](#input\\_visibility) | Visibility of the repository. One of: `public`, `private`, or `internal` | `string` | `\"public\"` | no |\n| \u003ca name=\"input_vulnerability_alerts\"\u003e\u003c/a\u003e [vulnerability\\_alerts](#input\\_vulnerability\\_alerts) | Whether to enable security alerts for dependencies | `bool` | `true` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_repo\"\u003e\u003c/a\u003e [repo](#output\\_repo) | Object with all repo attributes |\n\n\u003c!-- END TFDOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplus3it%2Fterraform-github-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplus3it%2Fterraform-github-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplus3it%2Fterraform-github-repo/lists"}