{"id":13575433,"url":"https://github.com/mineiros-io/terraform-github-repository","last_synced_at":"2025-04-06T13:11:47.755Z","repository":{"id":40391366,"uuid":"229910285","full_name":"mineiros-io/terraform-github-repository","owner":"mineiros-io","description":"A Terraform module to manage GitHub Repositories. https://github.com/","archived":false,"fork":false,"pushed_at":"2024-07-19T18:46:34.000Z","size":527,"stargazers_count":164,"open_issues_count":27,"forks_count":107,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-30T11:10:00.025Z","etag":null,"topics":["github","github-repository","iac","mineiros","terraform","terraform-github","terraform-modules"],"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/mineiros-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-24T09:13:06.000Z","updated_at":"2025-03-26T02:17:18.000Z","dependencies_parsed_at":"2024-05-16T10:43:40.587Z","dependency_job_id":"7c65513e-809b-4b4a-a4d7-65a08a9afc91","html_url":"https://github.com/mineiros-io/terraform-github-repository","commit_stats":{"total_commits":235,"total_committers":16,"mean_commits":14.6875,"dds":0.5872340425531914,"last_synced_commit":"ee6001a0b791af814d7f0c015da0c7ca204f3fbe"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mineiros-io%2Fterraform-github-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mineiros-io%2Fterraform-github-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mineiros-io%2Fterraform-github-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mineiros-io%2Fterraform-github-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mineiros-io","download_url":"https://codeload.github.com/mineiros-io/terraform-github-repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485290,"owners_count":20946398,"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":["github","github-repository","iac","mineiros","terraform","terraform-github","terraform-modules"],"created_at":"2024-08-01T15:01:01.036Z","updated_at":"2025-04-06T13:11:47.731Z","avatar_url":"https://github.com/mineiros-io.png","language":"HCL","funding_links":[],"categories":["HCL"],"sub_categories":[],"readme":"[\u003cimg src=\"https://raw.githubusercontent.com/mineiros-io/brand/3bffd30e8bdbbde32c143e2650b2faa55f1df3ea/mineiros-primary-logo.svg\" width=\"400\"/\u003e](https://mineiros.io/?ref=terraform-github-repository)\n\n[![Build Status](https://github.com/mineiros-io/terraform-github-repository/workflows/CI/CD%20Pipeline/badge.svg)](https://github.com/mineiros-io/terraform-github-repository/actions)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/mineiros-io/terraform-github-repository.svg?label=latest\u0026sort=semver)](https://github.com/mineiros-io/terraform-github-repository/releases)\n[![Terraform Version](https://img.shields.io/badge/terraform-1.x-623CE4.svg?logo=terraform)](https://github.com/hashicorp/terraform/releases)\n[![Github Provider Version](https://img.shields.io/badge/GH-4.10+-F8991D.svg?logo=terraform)](https://github.com/terraform-providers/terraform-provider-github/releases)\n[![Join Slack](https://img.shields.io/badge/slack-@mineiros--community-f32752.svg?logo=slack)](https://join.slack.com/t/mineiros-community/shared_invite/zt-ehidestg-aLGoIENLVs6tvwJ11w9WGg)\n\n# terraform-github-repository\n\nA [Terraform] module for creating a public or private repository on [Github].\n\n**_This module supports Terraform v1.x and is compatible with the Official Terraform GitHub Provider v4.20 and above from `integrations/github`._**\n\n**Attention: This module is incompatible with the Hashicorp GitHub Provider! The latest version of this module supporting `hashicorp/github` provider is `~\u003e 0.10.0`**\n\n** Note: Versions 5.3.0, 5.4.0, and 5.5.0 of the Terraform Github Provider have broken branch protections support and should not be used.**\n\n\n- [GitHub as Code](#github-as-code)\n- [Module Features](#module-features)\n- [Getting Started](#getting-started)\n- [Module Argument Reference](#module-argument-reference)\n  - [Main Resource Configuration](#main-resource-configuration)\n  - [Extended Resource Configuration](#extended-resource-configuration)\n    - [Repository Creation Configuration](#repository-creation-configuration)\n    - [Teams Configuration](#teams-configuration)\n    - [Collaborator Configuration](#collaborator-configuration)\n    - [Branches Configuration](#branches-configuration)\n    - [Deploy Keys Configuration](#deploy-keys-configuration)\n    - [Branch Protections v3 Configuration](#branch-protections-v3-configuration)\n    - [Branch Protections v4 Configuration](#branch-protections-v4-configuration)\n    - [Issue Labels Configuration](#issue-labels-configuration)\n    - [Projects Configuration](#projects-configuration)\n    - [Webhooks Configuration](#webhooks-configuration)\n    - [Secrets Configuration](#secrets-configuration)\n    - [Autolink References Configuration](#autolink-references-configuration)\n    - [App Installations](#app-installations)\n  - [Module Configuration](#module-configuration)\n- [Module Outputs](#module-outputs)\n- [External Documentation](#external-documentation)\n  - [Terraform Github Provider Documentation](#terraform-github-provider-documentation)\n- [Module Versioning](#module-versioning)\n  - [Backwards compatibility in `0.0.z` and `0.y.z` version](#backwards-compatibility-in-00z-and-0yz-version)\n- [About Mineiros](#about-mineiros)\n- [Reporting Issues](#reporting-issues)\n- [Contributing](#contributing)\n- [Makefile Targets](#makefile-targets)\n- [License](#license)\n\n## GitHub as Code\n\n[GitHub as Code][github-as-code] is a commercial solution built on top of\nour open-source Terraform modules for GitHub. It helps our customers to\nmanage their GitHub organization more efficiently by enabling anyone in\ntheir organization to **self-service** manage **on- and offboarding of users**,\n**repositories**, and settings such as **branch protections**, **secrets**, and more\nthrough code. GitHub as Code comes with **pre-configured GitHub Actions\npipelines** for **change pre-view in Pull Requests**, **fully automated\nrollouts** and **rollbacks**. It's a comprehensive, ready-to-use blueprint\nmaintained by our team of platform engineering experts and saves\ncompanies such as yours tons of time by building on top of a pre-configured\nsolution instead of building and maintaining it yourself.\n\nFor details please see [https://mineiros.io/github-as-code][github-as-code].\n\n## Module Features\n\nIn contrast to the plain `github_repository` resource this module enables various other\nfeatures like Branch Protection or Collaborator Management.\n\n- **Default Security Settings**:\n  This module creates a `private` repository by default,\n  Deploy keys are `read-only` by default\n\n- **Standard Repository Features**:\n  Setting basic Metadata,\n  Merge Strategy,\n  Auto Init,\n  License Template,\n  Gitignore Template,\n  Template Repository\n\n- **Extended Repository Features**:\n  Branches,\n  Branch Protection,\n  Issue Labels,\n  Handle Github Default Issue Labels,\n  Collaborators,\n  Teams,\n  Deploy Keys,\n  Projects,\n  Repository Webhooks\n\n- _Features not yet implemented_:\n  Project Columns support,\n  Actions,\n  Repository File\n\n## Getting Started\n\nMost basic usage creating a new private github repository.\n\n```hcl\nmodule \"repository\" {\n  source  = \"mineiros-io/repository/github\"\n  version = \"~\u003e 0.18.0\"\n\n  name               = \"terraform-github-repository\"\n  license_template   = \"apache-2.0\"\n  gitignore_template = \"Terraform\"\n}\n```\n\n## Module Argument Reference\n\nSee [variables.tf] and [examples/] for details and use-cases.\n\n### Main Resource Configuration\n\n- [**`name`**](#var-name): *(**Required** `string`)*\u003ca name=\"var-name\"\u003e\u003c/a\u003e\n\n  The name of the repository.\n\n- [**`defaults`**](#var-defaults): *(Optional `object(defaults)`)*\u003ca name=\"var-defaults\"\u003e\u003c/a\u003e\n\n  DEPRECATED:\n  This variable will be removed in future releases.\n  It was needed in times when Terraform Module for each was not available to provide default values for multiple repositories.\n  Please convert your code accordingly to stay compatible with future releases.\n\n  Default is `{}`.\n\n- [**`pages`**](#var-pages): *(Optional `object(pages)`)*\u003ca name=\"var-pages\"\u003e\u003c/a\u003e\n\n  A object of settings to configure GitHub Pages in this repository.\n  See below for a list of supported arguments.\n\n  Default is `{}`.\n\n  The `pages` object accepts the following attributes:\n\n  - [**`branch`**](#attr-pages-branch): *(**Required** `string`)*\u003ca name=\"attr-pages-branch\"\u003e\u003c/a\u003e\n\n    The repository branch used to publish the site's source files.\n\n  - [**`path`**](#attr-pages-path): *(Optional `string`)*\u003ca name=\"attr-pages-path\"\u003e\u003c/a\u003e\n\n    The repository directory from which the site publishes.\n\n  - [**`cname`**](#attr-pages-cname): *(Optional `string`)*\u003ca name=\"attr-pages-cname\"\u003e\u003c/a\u003e\n\n    The custom domain for the repository. This can only be set after the\n    repository has been created.\n\n- [**`allow_merge_commit`**](#var-allow_merge_commit): *(Optional `bool`)*\u003ca name=\"var-allow_merge_commit\"\u003e\u003c/a\u003e\n\n  Set to `false` to disable merge commits on the repository.\n  If you set this to `false` you have to enable either `allow_squash_merge`\n  or `allow_rebase_merge`.\n\n  Default is `true`.\n\n- [**`allow_squash_merge`**](#var-allow_squash_merge): *(Optional `bool`)*\u003ca name=\"var-allow_squash_merge\"\u003e\u003c/a\u003e\n\n  Set to `true` to enable squash merges on the repository.\n\n  Default is `false`.\n\n- [**`allow_rebase_merge`**](#var-allow_rebase_merge): *(Optional `bool`)*\u003ca name=\"var-allow_rebase_merge\"\u003e\u003c/a\u003e\n\n  Set to `true` to enable rebase merges on the repository.\n\n  Default is `false`.\n\n- [**`allow_auto_merge`**](#var-allow_auto_merge): *(Optional `bool`)*\u003ca name=\"var-allow_auto_merge\"\u003e\u003c/a\u003e\n\n  Set to `true`  to allow [auto-merging](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)\n  pull requests on the repository. If you enable auto-merge for a pull\n  request, the pull request will merge automatically when all required\n  reviews are met and status checks have passed.\n\n  Default is `false`.\n\n- [**`description`**](#var-description): *(Optional `string`)*\u003ca name=\"var-description\"\u003e\u003c/a\u003e\n\n  A description of the repository.\n\n  Default is `\"\"`.\n\n- [**`delete_branch_on_merge`**](#var-delete_branch_on_merge): *(Optional `bool`)*\u003ca name=\"var-delete_branch_on_merge\"\u003e\u003c/a\u003e\n\n  Set to `false` to disable the automatic deletion of head branches after pull requests are merged.\n\n  Default is `true`.\n\n- [**`homepage_url`**](#var-homepage_url): *(Optional `string`)*\u003ca name=\"var-homepage_url\"\u003e\u003c/a\u003e\n\n  URL of a page describing the project.\n\n  Default is `\"\"`.\n\n- [**`private`**](#var-private): *(Optional `bool`)*\u003ca name=\"var-private\"\u003e\u003c/a\u003e\n\n  **_DEPRECATED_**: Please use `visibility` instead and update your code. parameter will be removed in a future version\n\n- [**`visibility`**](#var-visibility): *(Optional `string`)*\u003ca name=\"var-visibility\"\u003e\u003c/a\u003e\n\n  Can be `public` or `private`.\n  If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`.\n  The `visibility` parameter overrides the deprecated `private` parameter.\n\n  Default is `\"private\"`.\n\n- [**`has_issues`**](#var-has_issues): *(Optional `bool`)*\u003ca name=\"var-has_issues\"\u003e\u003c/a\u003e\n\n  Set to true to enable the GitHub Issues features on the repository.\n\n  Default is `false`.\n\n- [**`has_projects`**](#var-has_projects): *(Optional `bool`)*\u003ca name=\"var-has_projects\"\u003e\u003c/a\u003e\n\n  Set to true to enable the GitHub Projects features on the repository.\n\n  Default is `false`.\n\n- [**`has_wiki`**](#var-has_wiki): *(Optional `bool`)*\u003ca name=\"var-has_wiki\"\u003e\u003c/a\u003e\n\n  Set to true to enable the GitHub Wiki features on the repository.\n\n  Default is `false`.\n\n- [**`has_downloads`**](#var-has_downloads): *(Optional `bool`)*\u003ca name=\"var-has_downloads\"\u003e\u003c/a\u003e\n\n  Set to `true` to enable the (deprecated) downloads features on the repository.\n\n  Default is `false`.\n\n- [**`is_template`**](#var-is_template): *(Optional `bool`)*\u003ca name=\"var-is_template\"\u003e\u003c/a\u003e\n\n  Set to `true` to tell GitHub that this is a template repository.\n\n  Default is `false`.\n\n- [**`default_branch`**](#var-default_branch): *(Optional `string`)*\u003ca name=\"var-default_branch\"\u003e\u003c/a\u003e\n\n  The name of the default branch of the repository.\n  NOTE: The configured default branch must exist in the repository.\n  If the branch doesn't exist yet, or if you are creating a new\n  repository, please add the desired default branch to the `branches`\n  variable, which will cause Terraform to create it for you.\n\n  Default is `\"\"`.\n\n- [**`archived`**](#var-archived): *(Optional `bool`)*\u003ca name=\"var-archived\"\u003e\u003c/a\u003e\n\n  Specifies if the repository should be archived.\n  NOTE: Currently, the API does not support unarchiving.\n\n  Default is `false`.\n\n- [**`topics`**](#var-topics): *(Optional `list(string)`)*\u003ca name=\"var-topics\"\u003e\u003c/a\u003e\n\n  The list of topics of the repository.\n\n  Default is `[]`.\n\n- [**`extra_topics`**](#var-extra_topics): *(Optional `list(string)`)*\u003ca name=\"var-extra_topics\"\u003e\u003c/a\u003e\n\n  A list of additional topics of the repository. Those topics will be added to the list of `topics`. This is useful if `default.topics` are used and the list should be extended with more topics.\n\n  Default is `[]`.\n\n- [**`vulnerability_alerts`**](#var-vulnerability_alerts): *(Optional `bool`)*\u003ca name=\"var-vulnerability_alerts\"\u003e\u003c/a\u003e\n\n  Set to `false` to disable security alerts for vulnerable dependencies.\n  Enabling requires alerts to be enabled on the owner level.\n\n- [**`archive_on_destroy`**](#var-archive_on_destroy): *(Optional `bool`)*\u003ca name=\"var-archive_on_destroy\"\u003e\u003c/a\u003e\n\n  Set to `false` to not archive the repository instead of deleting on destroy.\n\n  Default is `true`.\n\n### Extended Resource Configuration\n\n#### Repository Creation Configuration\n\nThe following four arguments can only be set at repository creation and\nchanges will be ignored for repository updates and\nwill not show a diff in plan or apply phase.\n\n- [**`auto_init`**](#var-auto_init): *(Optional `bool`)*\u003ca name=\"var-auto_init\"\u003e\u003c/a\u003e\n\n  Set to `false` to not produce an initial commit in the repository.\n\n  Default is `true`.\n\n- [**`gitignore_template`**](#var-gitignore_template): *(Optional `string`)*\u003ca name=\"var-gitignore_template\"\u003e\u003c/a\u003e\n\n  Use the name of the template without the extension.\n\n  Default is `\"\"`.\n\n- [**`license_template`**](#var-license_template): *(Optional `string`)*\u003ca name=\"var-license_template\"\u003e\u003c/a\u003e\n\n  Use the name of the template without the extension.\n\n  Default is `\"\"`.\n\n- [**`template`**](#var-template): *(Optional `object(template)`)*\u003ca name=\"var-template\"\u003e\u003c/a\u003e\n\n  Use a template repository to create this resource.\n\n  Default is `{}`.\n\n  The `template` object accepts the following attributes:\n\n  - [**`owner`**](#attr-template-owner): *(**Required** `string`)*\u003ca name=\"attr-template-owner\"\u003e\u003c/a\u003e\n\n    The GitHub organization or user the template repository is owned by.\n\n  - [**`repository`**](#attr-template-repository): *(**Required** `string`)*\u003ca name=\"attr-template-repository\"\u003e\u003c/a\u003e\n\n    The name of the template repository.\n\n#### Teams Configuration\n\nYour can use non-computed (known at `terraform plan`) team names or slugs (`*_teams` Attributes)\nor computed (only known in `terraform apply` phase) team IDs (`*_team_ids` Attributes).\n**When using non-computed names/slugs teams need to exist before running plan.**\nThis is due to some terraform limitation and we will update the module once terraform removed this limitation.\n\n- [**`pull_teams`**](#var-pull_teams): *(Optional `list(string)`)*\u003ca name=\"var-pull_teams\"\u003e\u003c/a\u003e\n\n  Can also be `pull_team_ids`. A list of teams to grant pull (read-only) permission.\n  Recommended for non-code contributors who want to view or discuss your project.\n\n  Default is `[]`.\n\n- [**`triage_teams`**](#var-triage_teams): *(Optional `list(string)`)*\u003ca name=\"var-triage_teams\"\u003e\u003c/a\u003e\n\n  Can also be `triage_team_ids`. A list of teams to grant triage permission.\n  Recommended for contributors who need to proactively manage issues and pull requests\n  without write access.\n\n  Default is `[]`.\n\n- [**`push_teams`**](#var-push_teams): *(Optional `list(string)`)*\u003ca name=\"var-push_teams\"\u003e\u003c/a\u003e\n\n  Can also be `push_team_ids`. A list of teams to grant push (read-write) permission.\n  Recommended for contributors who actively push to your project.\n\n  Default is `[]`.\n\n- [**`maintain_teams`**](#var-maintain_teams): *(Optional `list(string)`)*\u003ca name=\"var-maintain_teams\"\u003e\u003c/a\u003e\n\n  Can also be `maintain_team_ids`. A list of teams to grant maintain permission.\n  Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.\n\n  Default is `[]`.\n\n- [**`admin_teams`**](#var-admin_teams): *(Optional `list(string)`)*\u003ca name=\"var-admin_teams\"\u003e\u003c/a\u003e\n\n  Can also be `admin_team_ids`. A list of teams to grant admin (full) permission.\n  Recommended for people who need full access to the project, including sensitive and destructive actions like managing security or deleting a repository.\n\n  Default is `[]`.\n\n#### Collaborator Configuration\n\n- [**`pull_collaborators`**](#var-pull_collaborators): *(Optional `list(string)`)*\u003ca name=\"var-pull_collaborators\"\u003e\u003c/a\u003e\n\n  A list of user names to add as collaborators granting them pull (read-only) permission.\n  Recommended for non-code contributors who want to view or discuss your project.\n\n  Default is `[]`.\n\n- [**`triage_collaborators`**](#var-triage_collaborators): *(Optional `list(string)`)*\u003ca name=\"var-triage_collaborators\"\u003e\u003c/a\u003e\n\n  A list of user names to add as collaborators granting them triage permission.\n  Recommended for contributors who need to proactively manage issues and pull requests without write access.\n\n  Default is `[]`.\n\n- [**`push_collaborators`**](#var-push_collaborators): *(Optional `list(string)`)*\u003ca name=\"var-push_collaborators\"\u003e\u003c/a\u003e\n\n  A list of user names to add as collaborators granting them push (read-write) permission.\n  Recommended for contributors who actively push to your project.\n\n  Default is `[]`.\n\n- [**`maintain_collaborators`**](#var-maintain_collaborators): *(Optional `list(string)`)*\u003ca name=\"var-maintain_collaborators\"\u003e\u003c/a\u003e\n\n  A list of user names to add as collaborators granting them maintain permission.\n  Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.\n\n  Default is `[]`.\n\n- [**`admin_collaborators`**](#var-admin_collaborators): *(Optional `list(string)`)*\u003ca name=\"var-admin_collaborators\"\u003e\u003c/a\u003e\n\n  A list of user names to add as collaborators granting them admin (full) permission.\n  Recommended for people who need full access to the project, including sensitive and destructive actions like managing security or deleting a repository.\n\n  Default is `[]`.\n\n#### Branches Configuration\n\n- [**`branches`**](#var-branches): *(Optional `list(branch)`)*\u003ca name=\"var-branches\"\u003e\u003c/a\u003e\n\n  Create and manage branches within your repository.\n  Additional constraints can be applied to ensure your branch is created from another branch or commit.\n\n  Default is `[]`.\n\n  Each `branch` object in the list accepts the following attributes:\n\n  - [**`name`**](#attr-branches-name): *(**Required** `string`)*\u003ca name=\"attr-branches-name\"\u003e\u003c/a\u003e\n\n    The name of the branch to create.\n\n  - [**`source_branch`**](#attr-branches-source_branch): *(Optional `string`)*\u003ca name=\"attr-branches-source_branch\"\u003e\u003c/a\u003e\n\n    The branch name to start from. Uses the configured default branch per default.\n\n  - [**`source_sha`**](#attr-branches-source_sha): *(Optional `bool`)*\u003ca name=\"attr-branches-source_sha\"\u003e\u003c/a\u003e\n\n    The commit hash to start from. Defaults to the tip of `source_branch`. If provided, `source_branch` is ignored.\n\n    Default is `true`.\n\n#### Deploy Keys Configuration\n\n- [**`deploy_keys`**](#var-deploy_keys): *(Optional `list(deploy_key)`)*\u003ca name=\"var-deploy_keys\"\u003e\u003c/a\u003e\n\n  Can also be type `list(string)`. Specifies deploy keys and access-level of deploy keys used in this repository.\n  Every `string` in the list will be converted internally into the `object` representation with the `key` argument being set to the `string`. `object` details are explained below.\n\n  Default is `[]`.\n\n  Each `deploy_key` object in the list accepts the following attributes:\n\n  - [**`key`**](#attr-deploy_keys-key): *(**Required** `string`)*\u003ca name=\"attr-deploy_keys-key\"\u003e\u003c/a\u003e\n\n    The SSH public key.\n\n  - [**`title`**](#attr-deploy_keys-title): *(Optional `string`)*\u003ca name=\"attr-deploy_keys-title\"\u003e\u003c/a\u003e\n\n    A Title for the key.\n    Default is the comment field of SSH public key if it is not empty else it defaults to `md5(key)`.\n\n  - [**`read_only`**](#attr-deploy_keys-read_only): *(Optional `bool`)*\u003ca name=\"attr-deploy_keys-read_only\"\u003e\u003c/a\u003e\n\n    Specifies the level of access for the key.\n\n    Default is `true`.\n\n  - [**`id`**](#attr-deploy_keys-id): *(Optional `string`)*\u003ca name=\"attr-deploy_keys-id\"\u003e\u003c/a\u003e\n\n    Specifies an ID which is used to prevent resource recreation when the order in the list of deploy keys changes.\n    The ID must be unique between `deploy_keys` and `deploy_keys_computed`.\n\n    Default is `\"md5(key)\"`.\n\n- [**`deploy_keys_computed`**](#var-deploy_keys_computed): *(Optional `list(deploy_key)`)*\u003ca name=\"var-deploy_keys_computed\"\u003e\u003c/a\u003e\n\n  Can also be type `string`. Same as `deploy_keys` argument with the following differences:\n  Use this argument if you depend on computed keys that terraform can not use in resource `for_each` execution. Downside of this is the recreation of deploy key resources whenever the order in the list changes. **Prefer `deploy_keys` whenever possible.**\n  This argument does **not** conflict with `deploy_keys` and should exclusively be used for computed resources.\n\n  Default is `[]`.\n\n  Each `deploy_key` object in the list accepts the following attributes:\n\n  - [**`key`**](#attr-deploy_keys_computed-key): *(**Required** `string`)*\u003ca name=\"attr-deploy_keys_computed-key\"\u003e\u003c/a\u003e\n\n    The SSH public key.\n\n  - [**`title`**](#attr-deploy_keys_computed-title): *(Optional `string`)*\u003ca name=\"attr-deploy_keys_computed-title\"\u003e\u003c/a\u003e\n\n    A Title for the key.\n    Default is the comment field of SSH public key if it is not empty else it defaults to `md5(key)`.\n\n  - [**`read_only`**](#attr-deploy_keys_computed-read_only): *(Optional `bool`)*\u003ca name=\"attr-deploy_keys_computed-read_only\"\u003e\u003c/a\u003e\n\n    Specifies the level of access for the key.\n\n    Default is `true`.\n\n  - [**`id`**](#attr-deploy_keys_computed-id): *(Optional `string`)*\u003ca name=\"attr-deploy_keys_computed-id\"\u003e\u003c/a\u003e\n\n    Specifies an ID which is used to prevent resource recreation when the order in the list of deploy keys changes.\n    The ID must be unique between `deploy_keys` and `deploy_keys_computed`.\n\n    Default is `\"md5(key)\"`.\n\n#### Branch Protections v3 Configuration\n\n- [**`branch_protections_v3`**](#var-branch_protections_v3): *(Optional `list(branch_protection_v3)`)*\u003ca name=\"var-branch_protections_v3\"\u003e\u003c/a\u003e\n\n  This resource allows you to configure v3 branch protection for repositories in your organization.\n  When applied, the branch will be protected from forced pushes and deletion.\n  Additional constraints, such as required status checks or restrictions on users and teams, can also be configured.\n\n  Default is `[]`.\n\n  Each `branch_protection_v3` object in the list accepts the following attributes:\n\n  - [**`branch`**](#attr-branch_protections_v3-branch): *(**Required** `string`)*\u003ca name=\"attr-branch_protections_v3-branch\"\u003e\u003c/a\u003e\n\n    The Git branch to protect.\n\n  - [**`enforce_admins`**](#attr-branch_protections_v3-enforce_admins): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-enforce_admins\"\u003e\u003c/a\u003e\n\n    Setting this to true enforces status checks for repository administrators.\n\n    Default is `false`.\n\n  - [**`require_conversation_resolution`**](#attr-branch_protections_v3-require_conversation_resolution): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-require_conversation_resolution\"\u003e\u003c/a\u003e\n\n    Setting this to true requires all conversations to be resolved.\n\n    Default is `false`.\n\n  - [**`require_signed_commits`**](#attr-branch_protections_v3-require_signed_commits): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-require_signed_commits\"\u003e\u003c/a\u003e\n\n    Setting this to true requires all commits to be signed with GPG.\n\n    Default is `false`.\n\n  - [**`required_status_checks`**](#attr-branch_protections_v3-required_status_checks): *(Optional `object(required_status_checks)`)*\u003ca name=\"attr-branch_protections_v3-required_status_checks\"\u003e\u003c/a\u003e\n\n    Enforce restrictions for required status checks.\n    See Required Status Checks below for details.\n\n    Default is `{}`.\n\n    The `required_status_checks` object accepts the following attributes:\n\n    - [**`strict`**](#attr-branch_protections_v3-required_status_checks-strict): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-required_status_checks-strict\"\u003e\u003c/a\u003e\n\n      Require branches to be up to date before merging.\n\n      Default is `false`.\n\n    - [**`contexts`**](#attr-branch_protections_v3-required_status_checks-contexts): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-required_status_checks-contexts\"\u003e\u003c/a\u003e\n\n      The list of status checks to require in order to merge into this branch. If default is `[]` no status checks are required.\n\n      Default is `[]`.\n\n  - [**`required_pull_request_reviews`**](#attr-branch_protections_v3-required_pull_request_reviews): *(Optional `object(required_pull_request_reviews)`)*\u003ca name=\"attr-branch_protections_v3-required_pull_request_reviews\"\u003e\u003c/a\u003e\n\n    Enforce restrictions for pull request reviews.\n\n    Default is `{}`.\n\n    The `required_pull_request_reviews` object accepts the following attributes:\n\n    - [**`dismiss_stale_reviews`**](#attr-branch_protections_v3-required_pull_request_reviews-dismiss_stale_reviews): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-required_pull_request_reviews-dismiss_stale_reviews\"\u003e\u003c/a\u003e\n\n      Dismiss approved reviews automatically when a new commit is pushed.\n\n      Default is `true`.\n\n    - [**`dismissal_users`**](#attr-branch_protections_v3-required_pull_request_reviews-dismissal_users): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-required_pull_request_reviews-dismissal_users\"\u003e\u003c/a\u003e\n\n      The list of user logins with dismissal access\n\n      Default is `[]`.\n\n    - [**`dismissal_teams`**](#attr-branch_protections_v3-required_pull_request_reviews-dismissal_teams): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-required_pull_request_reviews-dismissal_teams\"\u003e\u003c/a\u003e\n\n      The list of team slugs with dismissal access.\n      Always use slug of the team, not its name.\n      Each team already has to have access to the repository.\n\n      Default is `[]`.\n\n    - [**`require_code_owner_reviews`**](#attr-branch_protections_v3-required_pull_request_reviews-require_code_owner_reviews): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v3-required_pull_request_reviews-require_code_owner_reviews\"\u003e\u003c/a\u003e\n\n      Require an approved review in pull requests including files with a designated code owner.\n\n      Default is `false`.\n\n  - [**`restrictions`**](#attr-branch_protections_v3-restrictions): *(Optional `object(restrictions)`)*\u003ca name=\"attr-branch_protections_v3-restrictions\"\u003e\u003c/a\u003e\n\n    Enforce restrictions for the users and teams that may push to the branch - only available for organization-owned repositories. See Restrictions below for details.\n\n    Default is `{}`.\n\n    The `restrictions` object accepts the following attributes:\n\n    - [**`users`**](#attr-branch_protections_v3-restrictions-users): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-restrictions-users\"\u003e\u003c/a\u003e\n\n      The list of user logins with push access.\n\n      Default is `[]`.\n\n    - [**`teams`**](#attr-branch_protections_v3-restrictions-teams): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-restrictions-teams\"\u003e\u003c/a\u003e\n\n      The list of team slugs with push access.\n      Always use slug of the team, not its name.\n      Each team already has to have access to the repository.\n\n      Default is `[]`.\n\n    - [**`apps`**](#attr-branch_protections_v3-restrictions-apps): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v3-restrictions-apps\"\u003e\u003c/a\u003e\n\n      The list of app slugs with push access.\n\n      Default is `[]`.\n\n#### Branch Protections v4 Configuration\n\n- [**`branch_protections_v4`**](#var-branch_protections_v4): *(Optional `list(branch_protection_v4)`)*\u003ca name=\"var-branch_protections_v4\"\u003e\u003c/a\u003e\n\n  This resource allows you to configure v4 branch protection for repositories in your organization.\n\n  Each element in the list is a branch to be protected and the value the corresponding to the desired configuration for the branch.\n\n  When applied, the branch will be protected from forced pushes and deletion.\n  Additional constraints, such as required status checks or restrictions on users and teams, can also be configured.\n\n  **_NOTE:_** May conflict with v3 branch protections if used for the same branch.\n\n  Default is `[]`.\n\n  Each `branch_protection_v4` object in the list accepts the following attributes:\n\n  - [**`pattern`**](#attr-branch_protections_v4-pattern): *(**Required** `string`)*\u003ca name=\"attr-branch_protections_v4-pattern\"\u003e\u003c/a\u003e\n\n    Identifies the protection rule pattern.\n\n  - [**`_key`**](#attr-branch_protections_v4-_key): *(Optional `string`)*\u003ca name=\"attr-branch_protections_v4-_key\"\u003e\u003c/a\u003e\n\n    An alternative key to use in `for_each` resource creation.\n    Defaults to the value of `var.pattern`.\n\n  - [**`allows_deletions`**](#attr-branch_protections_v4-allows_deletions): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-allows_deletions\"\u003e\u003c/a\u003e\n\n    Setting this to `true` to allow the branch to be deleted.\n\n    Default is `false`.\n\n  - [**`allows_force_pushes`**](#attr-branch_protections_v4-allows_force_pushes): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-allows_force_pushes\"\u003e\u003c/a\u003e\n\n    Setting this to `true` to allow force pushes on the branch.\n\n    Default is `false`.\n\n  - [**`blocks_creations`**](#attr-branch_protections_v4-blocks_creations): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-blocks_creations\"\u003e\u003c/a\u003e\n\n    Setting this to `true` will block creating the branch.\n\n    Default is `false`.\n\n  - [**`enforce_admins`**](#attr-branch_protections_v4-enforce_admins): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-enforce_admins\"\u003e\u003c/a\u003e\n\n    Keeping this as `true` enforces status checks for repository administrators.\n\n    Default is `true`.\n\n  - [**`push_restrictions`**](#attr-branch_protections_v4-push_restrictions): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v4-push_restrictions\"\u003e\u003c/a\u003e\n\n    The list of actor Names/IDs that may push to the branch.\n    Actor names must either begin with a \"/\" for users or the organization name followed by a \"/\" for teams.\n\n    Default is `[]`.\n\n  - [**`require_conversation_resolution`**](#attr-branch_protections_v4-require_conversation_resolution): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-require_conversation_resolution\"\u003e\u003c/a\u003e\n\n    Setting this to true requires all conversations on code must be resolved before a pull request can be merged.\n\n    Default is `false`.\n\n  - [**`require_signed_commits`**](#attr-branch_protections_v4-require_signed_commits): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-require_signed_commits\"\u003e\u003c/a\u003e\n\n    Setting this to true requires all commits to be signed with GPG.\n\n    Default is `false`.\n\n  - [**`required_linear_history`**](#attr-branch_protections_v4-required_linear_history): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-required_linear_history\"\u003e\u003c/a\u003e\n\n    Setting this to true enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch.\n\n    Default is `false`.\n\n  - [**`required_pull_request_reviews`**](#attr-branch_protections_v4-required_pull_request_reviews): *(Optional `object(required_pull_request_reviews)`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews\"\u003e\u003c/a\u003e\n\n    Enforce restrictions for pull request reviews.\n\n    The `required_pull_request_reviews` object accepts the following attributes:\n\n    - [**`dismiss_stale_reviews`**](#attr-branch_protections_v4-required_pull_request_reviews-dismiss_stale_reviews): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-dismiss_stale_reviews\"\u003e\u003c/a\u003e\n\n      Dismiss approved reviews automatically when a new commit is pushed.\n\n      Default is `true`.\n\n    - [**`restrict_dismissals`**](#attr-branch_protections_v4-required_pull_request_reviews-restrict_dismissals): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-restrict_dismissals\"\u003e\u003c/a\u003e\n\n      Restrict pull request review dismissals.\n\n    - [**`dismissal_restrictions`**](#attr-branch_protections_v4-required_pull_request_reviews-dismissal_restrictions): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-dismissal_restrictions\"\u003e\u003c/a\u003e\n\n      The list of actor Names/IDs with dismissal access.\n      If not empty, `restrict_dismissals` is ignored\n      Actor names must either begin with a `/` for users or the organization name followed by a `/` for teams.\n\n      Default is `[]`.\n\n    - [**`pull_request_bypassers`**](#attr-branch_protections_v4-required_pull_request_reviews-pull_request_bypassers): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-pull_request_bypassers\"\u003e\u003c/a\u003e\n\n      The list of actor Names/IDs that are allowed to bypass pull request requirements.\n      Actor names must either begin with a `/` for users or the organization name followed by a `/` for teams.\n\n      Default is `[]`.\n\n    - [**`require_code_owner_reviews`**](#attr-branch_protections_v4-required_pull_request_reviews-require_code_owner_reviews): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-require_code_owner_reviews\"\u003e\u003c/a\u003e\n\n      Require an approved review in pull requests including files with a designated code owner.\n\n      Default is `true`.\n\n    - [**`required_approving_review_count`**](#attr-branch_protections_v4-required_pull_request_reviews-required_approving_review_count): *(Optional `number`)*\u003ca name=\"attr-branch_protections_v4-required_pull_request_reviews-required_approving_review_count\"\u003e\u003c/a\u003e\n\n      Require x number of approvals to satisfy branch protection requirements.\n      If this is specified it must be a number between 0-6.\n\n      Default is `0`.\n\n  - [**`required_status_checks`**](#attr-branch_protections_v4-required_status_checks): *(Optional `object(required_status_checks)`)*\u003ca name=\"attr-branch_protections_v4-required_status_checks\"\u003e\u003c/a\u003e\n\n    Enforce restrictions for required status checks.\n    See Required Status Checks below for details.\n\n    The `required_status_checks` object accepts the following attributes:\n\n    - [**`strict`**](#attr-branch_protections_v4-required_status_checks-strict): *(Optional `bool`)*\u003ca name=\"attr-branch_protections_v4-required_status_checks-strict\"\u003e\u003c/a\u003e\n\n      Require branches to be up to date before merging.\n\n      Default is `false`.\n\n    - [**`contexts`**](#attr-branch_protections_v4-required_status_checks-contexts): *(Optional `list(string)`)*\u003ca name=\"attr-branch_protections_v4-required_status_checks-contexts\"\u003e\u003c/a\u003e\n\n      The list of status checks to require in order to merge into this branch. If default is `[]` no status checks are required.\n\n      Default is `[]`.\n\n#### Issue Labels Configuration\n\n- [**`issue_labels`**](#var-issue_labels): *(Optional `list(issue_label)`)*\u003ca name=\"var-issue_labels\"\u003e\u003c/a\u003e\n\n  This resource allows you to create and manage issue labels within your GitHub organization.\n  Issue labels are keyed off of their \"name\", so pre-existing issue labels result in a 422 HTTP error if they exist outside of Terraform.\n  Normally this would not be an issue, except new repositories are created with a \"default\" set of labels, and those labels easily conflict with custom ones.\n  This resource will first check if the label exists, and then issue an update, otherwise it will create.\n\n  Default is `[]`.\n\n  Each `issue_label` object in the list accepts the following attributes:\n\n  - [**`name`**](#attr-issue_labels-name): *(**Required** `string`)*\u003ca name=\"attr-issue_labels-name\"\u003e\u003c/a\u003e\n\n    The name of the label.\n\n  - [**`color`**](#attr-issue_labels-color): *(**Required** `string`)*\u003ca name=\"attr-issue_labels-color\"\u003e\u003c/a\u003e\n\n    A 6 character hex code, without the leading `#`, identifying the color of the label.\n\n  - [**`description`**](#attr-issue_labels-description): *(Optional `string`)*\u003ca name=\"attr-issue_labels-description\"\u003e\u003c/a\u003e\n\n    A short description of the label.\n\n    Default is `\"\"`.\n\n  - [**`id`**](#attr-issue_labels-id): *(Optional `string`)*\u003ca name=\"attr-issue_labels-id\"\u003e\u003c/a\u003e\n\n    Specifies an ID which is used to prevent resource recreation when the order in the list of issue labels changes.\n\n    Default is `\"name\"`.\n\n- [**`issue_labels_merge_with_github_labels`**](#var-issue_labels_merge_with_github_labels): *(Optional `bool`)*\u003ca name=\"var-issue_labels_merge_with_github_labels\"\u003e\u003c/a\u003e\n\n  Specify if github default labels will be handled by terraform. This should be decided on upon creation of the repository. If you later decide to disable this feature, github default labels will be destroyed if not replaced by labels set in `issue_labels` argument.\n\n- [**`issue_labels_create`**](#var-issue_labels_create): *(Optional `bool`)*\u003ca name=\"var-issue_labels_create\"\u003e\u003c/a\u003e\n\n  Specify whether you want to force or suppress the creation of issues labels.\n  Default is `true` if `has_issues` is `true` or `issue_labels` is non-empty.\n\n#### Projects Configuration\n\n- [**`projects`**](#var-projects): *(Optional `list(project)`)*\u003ca name=\"var-projects\"\u003e\u003c/a\u003e\n\n  This resource allows you to create and manage projects for GitHub repository.\n\n  Default is `[]`.\n\n  Each `project` object in the list accepts the following attributes:\n\n  - [**`name`**](#attr-projects-name): *(**Required** `string`)*\u003ca name=\"attr-projects-name\"\u003e\u003c/a\u003e\n\n    The name of the project.\n\n  - [**`body`**](#attr-projects-body): *(Optional `string`)*\u003ca name=\"attr-projects-body\"\u003e\u003c/a\u003e\n\n    The body of the project.\n\n    Default is `\"\"`.\n\n  - [**`id`**](#attr-projects-id): *(Optional `string`)*\u003ca name=\"attr-projects-id\"\u003e\u003c/a\u003e\n\n    Specifies an ID which is used to prevent resource recreation when the order in the list of projects changes.\n\n    Default is `\"name\"`.\n\n#### Webhooks Configuration\n\n- [**`webhooks`**](#var-webhooks): *(Optional `list(webhook)`)*\u003ca name=\"var-webhooks\"\u003e\u003c/a\u003e\n\n  This resource allows you to create and manage webhooks for repositories in your organization.\n  When applied, a webhook will be created which specifies a URL to receive events and which events to receieve. Additional constraints, such as SSL verification, pre-shared secret and content type can also be configured\n\n  Default is `[]`.\n\n  Each `webhook` object in the list accepts the following attributes:\n\n  - [**`events`**](#attr-webhooks-events): *(**Required** `list(string)`)*\u003ca name=\"attr-webhooks-events\"\u003e\u003c/a\u003e\n\n    A list of events which should trigger the webhook. [See a list of available events.](https://developer.github.com/v3/activity/events/types/)\n\n  - [**`url`**](#attr-webhooks-url): *(**Required** `string`)*\u003ca name=\"attr-webhooks-url\"\u003e\u003c/a\u003e\n\n    The URL to which the payloads will be delivered.\n\n  - [**`active`**](#attr-webhooks-active): *(Optional `bool`)*\u003ca name=\"attr-webhooks-active\"\u003e\u003c/a\u003e\n\n    Indicate if the webhook should receive events. Defaults to `true`.\n\n  - [**`content_type`**](#attr-webhooks-content_type): *(Optional `string`)*\u003ca name=\"attr-webhooks-content_type\"\u003e\u003c/a\u003e\n\n    The media type used to serialize the payloads. Supported values include `json` and `form`.\n\n    Default is `\"form\"`.\n\n  - [**`secret`**](#attr-webhooks-secret): *(Optional `string`)*\u003ca name=\"attr-webhooks-secret\"\u003e\u003c/a\u003e\n\n    If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [X-Hub-Signature](https://developer.github.com/webhooks/#delivery-headers) header.\n\n  - [**`insecure_ssl`**](#attr-webhooks-insecure_ssl): *(Optional `bool`)*\u003ca name=\"attr-webhooks-insecure_ssl\"\u003e\u003c/a\u003e\n\n    Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**\n\n#### Secrets Configuration\n\n- [**`plaintext_secrets`**](#var-plaintext_secrets): *(Optional `map(string)`)*\u003ca name=\"var-plaintext_secrets\"\u003e\u003c/a\u003e\n\n  This map allows you to create and manage secrets for repositories in your organization.\n\n  Each element in the map is considered a secret to be managed, being the key map the secret name and the value the corresponding secret in plain text:\n\n  When applied, a secret with the given key and value will be created in the repositories.\n\n  The value of the secrets must be given in plain text, GitHub provider is in charge of encrypting it.\n\n  **Attention:** You should treat state as sensitive always. It is also advised that you do not store plaintext values in your code but rather populate the encrypted_value using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible in your code. See below for an example of this abstraction.\n\n  Default is `{}`.\n\n  Example:\n\n  ```hcl\n  plaintext_secrets = {\n    SECRET_NAME_1 = \"plaintext_secret_value_1\"\n    SECRET_NAME_2 = \"plaintext_secret_value_2\"\n  }\n  ```\n\n- [**`encrypted_secrets`**](#var-encrypted_secrets): *(Optional `map(string)`)*\u003ca name=\"var-encrypted_secrets\"\u003e\u003c/a\u003e\n\n  This map allows you to create and manage encrypted secrets for repositories in your organization.\n\n  Each element in the map is considered a secret to be managed, being the key map the secret name and the value the corresponding encrypted value of the secret using the Github public key in Base64 format.b\n\n  When applied, a secret with the given key and value will be created in the repositories.\n\n  Default is `{}`.\n\n  Example:\n\n  ```hcl\n  encrypted_secrets = {\n    SECRET_NAME_1 = \"c2VjcmV0X3ZhbHVlXzE=\"\n    SECRET_NAME_2 = \"c2VjcmV0X3ZhbHVlXzI=\"\n  }\n  ```\n\n- [**`required_approving_review_count`**](#var-required_approving_review_count): *(Optional `number`)*\u003ca name=\"var-required_approving_review_count\"\u003e\u003c/a\u003e\n\n  Require x number of approvals to satisfy branch protection requirements.\n  If this is specified it must be a number between 1-6.\n  This requirement matches Github's API, see the upstream documentation for more information.\n  Default is no approving reviews are required.\n\n#### Autolink References Configuration\n\n- [**`autolink_references`**](#var-autolink_references): *(Optional `list(autolink_reference)`)*\u003ca name=\"var-autolink_references\"\u003e\u003c/a\u003e\n\n  This resource allows you to create and manage autolink references for GitHub repository.\n\n  Default is `[]`.\n\n  Each `autolink_reference` object in the list accepts the following attributes:\n\n  - [**`key_prefix`**](#attr-autolink_references-key_prefix): *(**Required** `string`)*\u003ca name=\"attr-autolink_references-key_prefix\"\u003e\u003c/a\u003e\n\n    This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit.\n\n  - [**`target_url_template`**](#attr-autolink_references-target_url_template): *(**Required** `string`)*\u003ca name=\"attr-autolink_references-target_url_template\"\u003e\u003c/a\u003e\n\n    The template of the target URL used for the links; must be a valid URL and contain `\u003cnum\u003e` for the reference number.\n\n#### App Installations\n\n- [**`app_installations`**](#var-app_installations): *(Optional `set(string)`)*\u003ca name=\"var-app_installations\"\u003e\u003c/a\u003e\n\n  A set of GitHub App IDs to be installed in this repository.\n\n  Default is `{}`.\n\n  Example:\n\n  ```hcl\n  app_installations = [\"05405144\", \"12556423\"]\n  ```\n\n### Module Configuration\n\n- [**`module_depends_on`**](#var-module_depends_on): *(Optional `list(dependency)`)*\u003ca name=\"var-module_depends_on\"\u003e\u003c/a\u003e\n\n  Due to the fact, that terraform does not offer `depends_on` on modules as of today (v0.12.24)\n  we might hit race conditions when dealing with team names instead of ids.\n  So when using the feature of [adding teams by slug/name](#teams-configuration) to the repository when creating it,\n  make sure to add all teams to this list as indirect dependencies.\n\n  Default is `[]`.\n\n## Module Outputs\n\nThe following attributes are exported by the module:\n\n- [**`repository`**](#output-repository): *(`object(repository)`)*\u003ca name=\"output-repository\"\u003e\u003c/a\u003e\n\n  All repository attributes as returned by the [`github_repository`]\n  resource containing all arguments as specified above and the other\n  attributes as specified below.\n\n- [**`branches`**](#output-branches): *(`object(branches)`)*\u003ca name=\"output-branches\"\u003e\u003c/a\u003e\n\n  All repository attributes as returned by the [`github_branch`]\n  resource containing all arguments as specified above and the other\n  attributes as specified below.\n\n- [**`full_name`**](#output-full_name): *(`string`)*\u003ca name=\"output-full_name\"\u003e\u003c/a\u003e\n\n  A string of the form \"orgname/reponame\".\n\n- [**`html_url`**](#output-html_url): *(`string`)*\u003ca name=\"output-html_url\"\u003e\u003c/a\u003e\n\n  URL to the repository on the web.\n\n- [**`ssh_clone_url`**](#output-ssh_clone_url): *(`string`)*\u003ca name=\"output-ssh_clone_url\"\u003e\u003c/a\u003e\n\n  URL that can be provided to git clone to clone the repository via SSH.\n\n- [**`http_clone_url`**](#output-http_clone_url): *(`string`)*\u003ca name=\"output-http_clone_url\"\u003e\u003c/a\u003e\n\n  URL that can be provided to git clone to clone the repository via HTTPS.\n\n- [**`git_clone_url`**](#output-git_clone_url): *(`string`)*\u003ca name=\"output-git_clone_url\"\u003e\u003c/a\u003e\n\n  URL that can be provided to git clone to clone the repository\n  anonymously via the git protocol.\n\n- [**`collaborators`**](#output-collaborators): *(`object(collaborators)`)*\u003ca name=\"output-collaborators\"\u003e\u003c/a\u003e\n\n  A map of Collaborator objects keyed by the `name` of the collaborator as\n  returned by the [`github_repository_collaborator`] resource.\n\n- [**`deploy_keys`**](#output-deploy_keys): *(`object(deploy_keys)`)*\u003ca name=\"output-deploy_keys\"\u003e\u003c/a\u003e\n\n  A merged map of deploy key objects for the keys originally passed via\n  `deploy_keys` and `deploy_keys_computed` as returned by the\n  [`github_repository_deploy_key`] resource keyed by the input `id` of the\n  key.\n\n- [**`projects`**](#output-projects): *(`object(project)`)*\u003ca name=\"output-projects\"\u003e\u003c/a\u003e\n\n  A map of Project objects keyed by the `id` of the project as returned by\n  the [`github_repository_project`] resource\n\n- [**`issue_labels`**](#output-issue_labels): *(`object(issue_label)`)*\u003ca name=\"output-issue_labels\"\u003e\u003c/a\u003e\n\n  A map of issue labels keyed by label input id or name.\n\n- [**`webhooks`**](#output-webhooks): *(`object(webhook)`)*\u003ca name=\"output-webhooks\"\u003e\u003c/a\u003e\n\n  All attributes and arguments as returned by the\n  `github_repository_webhook` resource.\n\n- [**`secrets`**](#output-secrets): *(`object(secret)`)*\u003ca name=\"output-secrets\"\u003e\u003c/a\u003e\n\n  List of secrets available.\n\n- [**`app_installations`**](#output-app_installations): *(`set(number)`)*\u003ca name=\"output-app_installations\"\u003e\u003c/a\u003e\n\n  A map of deploy app installations keyed by installation id.\n\n## External Documentation\n\n### Terraform Github Provider Documentation\n\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_collaborator\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_deploy_key\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_project\n- https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_autolink_reference\n\n## Module Versioning\n\nThis Module follows the principles of [Semantic Versioning (SemVer)].\n\nGiven a version number `MAJOR.MINOR.PATCH`, we increment the:\n\n1. `MAJOR` version when we make incompatible changes,\n2. `MINOR` version when we add functionality in a backwards compatible manner, and\n3. `PATCH` version when we make backwards compatible bug fixes.\n\n### Backwards compatibility in `0.0.z` and `0.y.z` version\n\n- Backwards compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. (Initial development)\n- Backwards compatibility in versions `0.y.z` is **not guaranteed** when `y` is increased. (Pre-release)\n\n## About Mineiros\n\n[Mineiros][homepage] is a remote-first company headquartered in Berlin, Germany\nthat solves development, automation and security challenges in cloud infrastructure.\n\nOur vision is to massively reduce time and overhead for teams to manage and\ndeploy production-grade and secure cloud infrastructure.\n\nWe offer commercial support for all of our modules and encourage you to reach out\nif you have any questions or need help. Feel free to email us at [hello@mineiros.io] or join our\n[Community Slack channel][slack].\n\n## Reporting Issues\n\nWe use GitHub [Issues] to track community reported issues and missing features.\n\n## Contributing\n\nContributions are always encouraged and welcome! For the process of accepting changes, we use\n[Pull Requests]. If you'd like more information, please see our [Contribution Guidelines].\n\n## Makefile Targets\n\nThis repository comes with a handy [Makefile].\nRun `make help` to see details on each available target.\n\n## License\n\n[![license][badge-license]][apache20]\n\nThis module is licensed under the Apache License Version 2.0, January 2004.\nPlease see [LICENSE] for full details.\n\nCopyright \u0026copy; 2020-2022 [Mineiros GmbH][homepage]\n\n\n\u003c!-- References --\u003e\n\n[github]: https://github.com/\n[`github_repository`]: https://www.terraform.io/docs/providers/github/r/repository.html#attributes-reference\n[`github_repository_collaborator`]: https://www.terraform.io/docs/providers/github/r/repository_collaborator.html#attribute-reference\n[`github_repository_deploy_key`]: https://www.terraform.io/docs/providers/github/r/repository_deploy_key.html#attributes-reference\n[`github_repository_project`]: https://www.terraform.io/docs/providers/github/r/repository_project.html#attributes-reference\n[`github_repository_autolink_reference`]: https://www.terraform.io/docs/providers/github/r/repository_autolink_reference.html#attributes-reference\n[homepage]: https://mineiros.io/?ref=terraform-github-repository\n[github-as-code]: https://mineiros.io/github-as-code?ref=terraform-github-repository\n[hello@mineiros.io]: mailto:hello@mineiros.io\n[badge-build]: https://github.com/mineiros-io/terraform-github-repository/workflows/CI/CD%20Pipeline/badge.svg\n[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-github-repository.svg?label=latest\u0026sort=semver\n[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg\n[badge-terraform]: https://img.shields.io/badge/terraform-1.x-623CE4.svg?logo=terraform\n[badge-slack]: https://img.shields.io/badge/slack-@mineiros--community-f32752.svg?logo=slack\n[badge-tf-gh]: https://img.shields.io/badge/GH-4.10+-F8991D.svg?logo=terraform\n[releases-github-provider]: https://github.com/terraform-providers/terraform-provider-github/releases\n[build-status]: https://github.com/mineiros-io/terraform-github-repository/actions\n[releases-github]: https://github.com/mineiros-io/terraform-github-repository/releases\n[releases-terraform]: https://github.com/hashicorp/terraform/releases\n[apache20]: https://opensource.org/licenses/Apache-2.0\n[slack]: https://join.slack.com/t/mineiros-community/shared_invite/zt-ehidestg-aLGoIENLVs6tvwJ11w9WGg\n[terraform]: https://www.terraform.io\n[aws]: https://aws.amazon.com/\n[semantic versioning (semver)]: https://semver.org/\n[variables.tf]: https://github.com/mineiros-io/terraform-github-repository/blob/main/variables.tf\n[examples/]: https://github.com/mineiros-io/terraform-github-repository/blob/main/examples\n[issues]: https://github.com/mineiros-io/terraform-github-repository/issues\n[license]: https://github.com/mineiros-io/terraform-github-repository/blob/main/LICENSE\n[makefile]: https://github.com/mineiros-io/terraform-github-repository/blob/main/Makefile\n[pull requests]: https://github.com/mineiros-io/terraform-github-repository/pulls\n[contribution guidelines]: https://github.com/mineiros-io/terraform-github-repository/blob/main/CONTRIBUTING.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmineiros-io%2Fterraform-github-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmineiros-io%2Fterraform-github-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmineiros-io%2Fterraform-github-repository/lists"}