{"id":22218272,"url":"https://github.com/antmelekhin/terraform-github-repository","last_synced_at":"2026-05-04T03:36:31.137Z","repository":{"id":193021185,"uuid":"687619031","full_name":"antmelekhin/terraform-github-repository","owner":"antmelekhin","description":"A Terraform module to manage GitHub Repositories.","archived":false,"fork":false,"pushed_at":"2024-04-05T20:19:52.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-06T16:47:13.575Z","etag":null,"topics":["github","github-repository","iac","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/antmelekhin/repository/github","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/antmelekhin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-09-05T16:45:28.000Z","updated_at":"2024-04-14T16:35:57.473Z","dependencies_parsed_at":"2024-04-14T16:51:36.928Z","dependency_job_id":null,"html_url":"https://github.com/antmelekhin/terraform-github-repository","commit_stats":null,"previous_names":["antmelekhin/terraform-github-repository"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/antmelekhin/terraform-github-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fterraform-github-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fterraform-github-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fterraform-github-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fterraform-github-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antmelekhin","download_url":"https://codeload.github.com/antmelekhin/terraform-github-repository/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fterraform-github-repository/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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","github-repository","iac","terraform","terraform-module"],"created_at":"2024-12-02T22:19:59.305Z","updated_at":"2026-05-04T03:36:31.123Z","avatar_url":"https://github.com/antmelekhin.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Module\n\nThis module manages GitHub repositories.\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\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= 6.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_github\"\u003e\u003c/a\u003e [github](#provider\\_github) | \u003e= 6.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [github_actions_secret.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_secret) | resource |\n| [github_actions_variable.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_variable) | resource |\n| [github_branch.additional](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch) | resource |\n| [github_branch.default](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch) | resource |\n| [github_branch_default.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_default) | resource |\n| [github_repository.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the repository. | `string` | n/a | yes |\n| \u003ca name=\"input_actions_encrypted_secrets\"\u003e\u003c/a\u003e [actions\\_encrypted\\_secrets](#input\\_actions\\_encrypted\\_secrets) | Configuring encrypted actions secrets. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_actions_plaintext_secrets\"\u003e\u003c/a\u003e [actions\\_plaintext\\_secrets](#input\\_actions\\_plaintext\\_secrets) | Configuring plaintext actions secrets. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_actions_variables\"\u003e\u003c/a\u003e [actions\\_variables](#input\\_actions\\_variables) | Configuring actions variables. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_allow_auto_merge\"\u003e\u003c/a\u003e [allow\\_auto\\_merge](#input\\_allow\\_auto\\_merge) | Set to `true` to allow auto-merging pull requests on the repository. | `bool` | `false` | no |\n| \u003ca name=\"input_allow_merge_commit\"\u003e\u003c/a\u003e [allow\\_merge\\_commit](#input\\_allow\\_merge\\_commit) | Set to `false` to disable merge commits on the repository. | `bool` | `true` | no |\n| \u003ca name=\"input_allow_rebase_merge\"\u003e\u003c/a\u003e [allow\\_rebase\\_merge](#input\\_allow\\_rebase\\_merge) | Set to `false` to disable rebase merges on the repository. | `bool` | `true` | no |\n| \u003ca name=\"input_allow_squash_merge\"\u003e\u003c/a\u003e [allow\\_squash\\_merge](#input\\_allow\\_squash\\_merge) | Set to `false` to disable squash merges on the repository. | `bool` | `true` | no |\n| \u003ca name=\"input_allow_update_branch\"\u003e\u003c/a\u003e [allow\\_update\\_branch](#input\\_allow\\_update\\_branch) | Set to `false` to disable updating pull request branches. | `bool` | `true` | no |\n| \u003ca name=\"input_archive_on_destroy\"\u003e\u003c/a\u003e [archive\\_on\\_destroy](#input\\_archive\\_on\\_destroy) | Set to `true` to archive the repository instead of deleting on destroy. | `bool` | `false` | no |\n| \u003ca name=\"input_archived\"\u003e\u003c/a\u003e [archived](#input\\_archived) | Specifies if the repository should be archived. | `bool` | `false` | no |\n| \u003ca name=\"input_auto_init\"\u003e\u003c/a\u003e [auto\\_init](#input\\_auto\\_init) | Set to `true` to produce an initial commit in the repository. | `bool` | `false` | no |\n| \u003ca name=\"input_branches\"\u003e\u003c/a\u003e [branches](#input\\_branches) | The list of a branches of the repository. Branches can only be created on non-empty repositories. | `list(map(string))` | `[]` | no |\n| \u003ca name=\"input_default_branch\"\u003e\u003c/a\u003e [default\\_branch](#input\\_default\\_branch) | The name of the default branch of the repository. Default branch can only be created on non-empty repositories. | `string` | `null` | no |\n| \u003ca name=\"input_default_branch_rename\"\u003e\u003c/a\u003e [default\\_branch\\_rename](#input\\_default\\_branch\\_rename) | Indicate if it should rename the branch rather than use an existing default branch. | `bool` | `false` | 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` | `false` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | A description of the repository. | `string` | `null` | no |\n| \u003ca name=\"input_gitignore_template\"\u003e\u003c/a\u003e [gitignore\\_template](#input\\_gitignore\\_template) | Use the name of the template without the extension. For example, 'Haskell'. | `string` | `null` | no |\n| \u003ca name=\"input_has_discussions\"\u003e\u003c/a\u003e [has\\_discussions](#input\\_has\\_discussions) | Set to `true` to enable the GitHub Discussions features on the repository. | `bool` | `false` | no |\n| \u003ca name=\"input_has_issues\"\u003e\u003c/a\u003e [has\\_issues](#input\\_has\\_issues) | Set to `false` to disable 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) | Set to `true` to 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) | Set to `true` to 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_ignore_vulnerability_alerts_during_read\"\u003e\u003c/a\u003e [ignore\\_vulnerability\\_alerts\\_during\\_read](#input\\_ignore\\_vulnerability\\_alerts\\_during\\_read) | Set to `true` to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. | `bool` | `null` | no |\n| \u003ca name=\"input_is_template\"\u003e\u003c/a\u003e [is\\_template](#input\\_is\\_template) | Set to `true` to tell GitHub that this is a template repository. | `bool` | `false` | no |\n| \u003ca name=\"input_license_template\"\u003e\u003c/a\u003e [license\\_template](#input\\_license\\_template) | Use the name of the template without the extension. For example, 'mit' or 'mpl-2.0'. | `string` | `null` | no |\n| \u003ca name=\"input_merge_commit_message\"\u003e\u003c/a\u003e [merge\\_commit\\_message](#input\\_merge\\_commit\\_message) | Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message. | `string` | `\"PR_TITLE\"` | no |\n| \u003ca name=\"input_merge_commit_title\"\u003e\u003c/a\u003e [merge\\_commit\\_title](#input\\_merge\\_commit\\_title) | Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. | `string` | `\"MERGE_MESSAGE\"` | no |\n| \u003ca name=\"input_squash_merge_commit_message\"\u003e\u003c/a\u003e [squash\\_merge\\_commit\\_message](#input\\_squash\\_merge\\_commit\\_message) | Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. | `string` | `\"COMMIT_MESSAGES\"` | no |\n| \u003ca name=\"input_squash_merge_commit_title\"\u003e\u003c/a\u003e [squash\\_merge\\_commit\\_title](#input\\_squash\\_merge\\_commit\\_title) | Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. | `string` | `\"COMMIT_OR_PR_TITLE\"` | no |\n| \u003ca name=\"input_topics\"\u003e\u003c/a\u003e [topics](#input\\_topics) | The list of topics of the repository. | `set(string)` | `[]` | no |\n| \u003ca name=\"input_visibility\"\u003e\u003c/a\u003e [visibility](#input\\_visibility) | Visibility of a project. Can be `public`, `private` or `internal` (GHE only). | `string` | `\"public\"` | no |\n| \u003ca name=\"input_vulnerability_alerts\"\u003e\u003c/a\u003e [vulnerability\\_alerts](#input\\_vulnerability\\_alerts) | Set to `false` to disable security alerts for vulnerable dependencies. | `bool` | `true` | no |\n| \u003ca name=\"input_web_commit_signoff_required\"\u003e\u003c/a\u003e [web\\_commit\\_signoff\\_required](#input\\_web\\_commit\\_signoff\\_required) | Require contributors to sign off on web-based commits. | `bool` | `false` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_default_branch\"\u003e\u003c/a\u003e [default\\_branch](#output\\_default\\_branch) | The name of the default branch of the repository. |\n| \u003ca name=\"output_full_name\"\u003e\u003c/a\u003e [full\\_name](#output\\_full\\_name) | A string of the form 'orgname/reponame'. |\n| \u003ca name=\"output_git_clone_url\"\u003e\u003c/a\u003e [git\\_clone\\_url](#output\\_git\\_clone\\_url) | URL that can be provided to `git clone` to clone the repository anonymously via the git protocol. |\n| \u003ca name=\"output_html_url\"\u003e\u003c/a\u003e [html\\_url](#output\\_html\\_url) | URL to the repository on the web. |\n| \u003ca name=\"output_http_clone_url\"\u003e\u003c/a\u003e [http\\_clone\\_url](#output\\_http\\_clone\\_url) | URL that can be provided to `git clone` to clone the repository via HTTPS. |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the repository. |\n| \u003ca name=\"output_repo_id\"\u003e\u003c/a\u003e [repo\\_id](#output\\_repo\\_id) | GitHub ID for the repository. |\n| \u003ca name=\"output_ssh_clone_url\"\u003e\u003c/a\u003e [ssh\\_clone\\_url](#output\\_ssh\\_clone\\_url) | URL that can be provided to `git clone` to clone the repository via SSH. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmelekhin%2Fterraform-github-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantmelekhin%2Fterraform-github-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmelekhin%2Fterraform-github-repository/lists"}