{"id":20656327,"url":"https://github.com/flaconi/terraform-github-repository","last_synced_at":"2026-05-17T10:35:59.190Z","repository":{"id":38245951,"uuid":"171690800","full_name":"Flaconi/terraform-github-repository","owner":"Flaconi","description":"Terraform module for maintaining Github repo's","archived":false,"fork":false,"pushed_at":"2026-04-16T09:18:18.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-04-16T11:19:57.079Z","etag":null,"topics":["github","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flaconi.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-20T14:44:14.000Z","updated_at":"2026-04-16T09:13:37.000Z","dependencies_parsed_at":"2024-01-25T13:27:11.944Z","dependency_job_id":"12e511a8-ece7-40ee-b5be-4e1f4422b7f2","html_url":"https://github.com/Flaconi/terraform-github-repository","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/Flaconi/terraform-github-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fterraform-github-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fterraform-github-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fterraform-github-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fterraform-github-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flaconi","download_url":"https://codeload.github.com/Flaconi/terraform-github-repository/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fterraform-github-repository/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33135105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","terraform-module"],"created_at":"2024-11-16T18:14:48.434Z","updated_at":"2026-05-17T10:35:59.183Z","avatar_url":"https://github.com/Flaconi.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Repository Module\n\n[![lint](https://github.com/flaconi/terraform-github-repository/workflows/linting/badge.svg?branch=master)](https://github.com/flaconi/terraform-github-repository/actions?query=workflow%3Alinting)\n[![test](https://github.com/flaconi/terraform-github-repository/workflows/testing/badge.svg)](https://github.com/flaconi/terraform-github-repository/actions?query=workflow%3Atesting)\n[![Tag](https://img.shields.io/github/tag/Flaconi/terraform-github-repository.svg)](https://github.com/Flaconi/terraform-github-repository/releases)\n[![Terraform](https://img.shields.io/badge/Terraform--registry-github--repository-brightgreen.svg)](https://registry.terraform.io/modules/Flaconi/repository/github/)\n[![license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\nThis Terraform module manages GitHub repositories. \n\n## Example Usage\n\n### Create private repository\n\n```hcl\nmodule \"my_pets_website_repo\" {\n  source = \"github.com/flaconi/terraform-github-repository.git?ref=master\"\n\n  name        = \"my-pets-website\"\n  description = \"My pets codebase.\"\n  visibility  = \"private\"\n\n  gitignore_template = \"Node\"\n\n  default_branch_protection_enabled = false\n}\n```\n\n### Create public (e.g. open source) repository\n\n```hcl\nmodule \"terraform_my_pets_repo\" {\n  source  = \"github.com/flaconi/terraform-github-repository.git?ref=master\"\n\n  namespace   = \"terraform\"\n  tenant      = \"my\"\n  name        = \"pets\"\n  description = \"Terraform configuration for my pets.\"\n  visibility  = \"public\"\n\n  gitignore_template = \"Terraform\"\n  license_template   = \"mit\"\n}\n```\n\n### Add collaborators and teams\n\n```hcl\ndata \"github_team\" \"developers\" {\n  slug = \"developers\"\n}\n\nmodule \"example_repo\" {\n  source  = \"github.com/flaconi/terraform-github-repository.git?ref=master\"\n\n  name        = \"example\"\n  description = \"My example codebase\"\n\n  visibility = \"private\"\n\n  teams = [\n    {\n      name      = \"security\"\n      permisson = \"admin\"\n    },\n    {\n      # Specify Team ID to use external data source\n      id         = data.github_team.developers.id\n      name       = \"developers\"\n      permission = \"push\"\n    }\n  ]\n}\n```\n\n### Set branch protection options\n\n```hcl\nmodule \"example_repo\" {\n  source  = \"github.com/flaconi/terraform-github-repository.git?ref=master\"\n\n  name        = \"example\"\n  description = \"My example codebase\"\n\n  visibility = \"private\"\n  \n  # Overwrite some settings for default branch\n  default_branch_protection = {\n    required_status_checks = {\n      contexts = [\"ci/travis\"]\n    }\n    required_pull_request_reviews = {\n      dismiss_stale_reviews  = true\n      dismissal_restrictions = [\"team1\",\"team2\"]\n    }\n  }\n}\n```\n\n### Add issue labels\n\n```hcl\nmodule \"example_repo\" {\n  source  = \"github.com/flaconi/terraform-github-repository.git?ref=master\"\n\n  name        = \"example\"\n  description = \"My example codebase\"\n\n  visibility = \"private\"\n\n  default_branch_protection_enabled = false\n\n  issue_labels = [\n    {\n      name        = \"bug\"\n      color       = \"d73a4a\"\n      description = \"This is a bug.\"\n    },\n    {\n      name        = \"wontfix\"\n      color       = \"ffffff\"\n      description = null\n    },\n  ]\n}\n```\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= 1.3 |\n| \u003ca name=\"requirement_github\"\u003e\u003c/a\u003e [github](#requirement\\_github) | ~\u003e 6.11 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_github\"\u003e\u003c/a\u003e [github](#provider\\_github) | ~\u003e 6.11 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_label\"\u003e\u003c/a\u003e [label](#module\\_label) | github.com/cloudposse/terraform-null-label.git | 0.25.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [github_actions_environment_secret.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_environment_secret) | resource |\n| [github_actions_repository_access_level.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_repository_access_level) | resource |\n| [github_actions_secret.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_secret) | resource |\n| [github_branch_default.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_default) | resource |\n| [github_branch_protection.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection) | resource |\n| [github_dependabot_secret.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/dependabot_secret) | resource |\n| [github_issue_label.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/issue_label) | resource |\n| [github_repository.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository) | resource |\n| [github_repository_collaborator.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_collaborator) | resource |\n| [github_repository_deploy_key.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_deploy_key) | resource |\n| [github_repository_environment.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_environment) | resource |\n| [github_repository_ruleset.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_ruleset) | resource |\n| [github_repository_webhook.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_webhook) | resource |\n| [github_team_repository.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_repository) | resource |\n| [github_team.this](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | 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) | The name of the repository. | `string` | n/a | yes |\n| \u003ca name=\"input_actions_repository_access_level\"\u003e\u003c/a\u003e [actions\\_repository\\_access\\_level](#input\\_actions\\_repository\\_access\\_level) | This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories. | `string` | `null` | 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` | `false` | 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` | `false` | 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 `true` to always suggest updating pull request branches. | `bool` | `false` | 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_attributes\"\u003e\u003c/a\u003e [attributes](#input\\_attributes) | Additional attributes (e.g. `policy` or `role`) | `list(string)` | `[]` | no |\n| \u003ca name=\"input_auto_init\"\u003e\u003c/a\u003e [auto\\_init](#input\\_auto\\_init) | Meaningful only during create; set  to `true` to produce an initial commit in the repository. | `bool` | `true` | no |\n| \u003ca name=\"input_bot_secrets\"\u003e\u003c/a\u003e [bot\\_secrets](#input\\_bot\\_secrets) | Repository dependabot secrets. | \u003cpre\u003emap(object({\u003cbr\u003e    encrypted_value = optional(string)\u003cbr\u003e    plaintext_value = optional(string)\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_branch_protection\"\u003e\u003c/a\u003e [branch\\_protection](#input\\_branch\\_protection) | Branch protection settings. Use to set protection rules for branches different to default branch. | \u003cpre\u003emap(object({\u003cbr\u003e    enforce_admins                  = optional(bool, true)\u003cbr\u003e    allows_deletions                = optional(bool, false)\u003cbr\u003e    allows_force_pushes             = optional(bool, false)\u003cbr\u003e    require_signed_commits          = optional(bool, true)\u003cbr\u003e    required_linear_history         = optional(bool, false)\u003cbr\u003e    require_conversation_resolution = optional(bool, false)\u003cbr\u003e    restrict_pushes = optional(object({\u003cbr\u003e      blocks_creations = optional(bool, false)\u003cbr\u003e      push_allowances  = optional(list(string), [])\u003cbr\u003e    }), {})\u003cbr\u003e    required_status_enabled = optional(bool, true)\u003cbr\u003e    required_status_checks = optional(object({\u003cbr\u003e      strict   = optional(bool, true)\u003cbr\u003e      contexts = optional(list(string), [])\u003cbr\u003e    }), {})\u003cbr\u003e    required_pull_request_enabled = optional(bool, true)\u003cbr\u003e    required_pull_request_reviews = optional(object({\u003cbr\u003e      dismiss_stale_reviews           = optional(bool, true)\u003cbr\u003e      restrict_dismissals             = optional(bool, false)\u003cbr\u003e      dismissal_restrictions          = optional(list(string), [])\u003cbr\u003e      pull_request_bypassers          = optional(list(string), [])\u003cbr\u003e      require_code_owner_reviews      = optional(bool, true)\u003cbr\u003e      required_approving_review_count = optional(number, 1)\u003cbr\u003e    }), {})\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_collaborators\"\u003e\u003c/a\u003e [collaborators](#input\\_collaborators) | Map of users with permissions. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_default_branch\"\u003e\u003c/a\u003e [default\\_branch](#input\\_default\\_branch) | The repository's default branch. The branch should exist prio to apply. | `string` | `\"main\"` | no |\n| \u003ca name=\"input_default_branch_protection\"\u003e\u003c/a\u003e [default\\_branch\\_protection](#input\\_default\\_branch\\_protection) | Default branch protection settings. | \u003cpre\u003eobject({\u003cbr\u003e    enforce_admins                  = optional(bool, true)\u003cbr\u003e    allows_deletions                = optional(bool, false)\u003cbr\u003e    allows_force_pushes             = optional(bool, false)\u003cbr\u003e    require_signed_commits          = optional(bool, true)\u003cbr\u003e    required_linear_history         = optional(bool, false)\u003cbr\u003e    require_conversation_resolution = optional(bool, false)\u003cbr\u003e    restrict_pushes = optional(object({\u003cbr\u003e      blocks_creations = optional(bool, false)\u003cbr\u003e      push_allowances  = optional(list(string), [])\u003cbr\u003e    }), {})\u003cbr\u003e    required_status_enabled = optional(bool, true)\u003cbr\u003e    required_status_checks = optional(object({\u003cbr\u003e      strict   = optional(bool, true)\u003cbr\u003e      contexts = optional(list(string), [])\u003cbr\u003e    }), {})\u003cbr\u003e    required_pull_request_enabled = optional(bool, true)\u003cbr\u003e    required_pull_request_reviews = optional(object({\u003cbr\u003e      dismiss_stale_reviews           = optional(bool, true)\u003cbr\u003e      restrict_dismissals             = optional(bool, false)\u003cbr\u003e      dismissal_restrictions          = optional(list(string), [])\u003cbr\u003e      pull_request_bypassers          = optional(list(string), [])\u003cbr\u003e      require_code_owner_reviews      = optional(bool, true)\u003cbr\u003e      required_approving_review_count = optional(number, 1)\u003cbr\u003e    }), {})\u003cbr\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_default_branch_protection_enabled\"\u003e\u003c/a\u003e [default\\_branch\\_protection\\_enabled](#input\\_default\\_branch\\_protection\\_enabled) | Set to `false` if you want to disable branch protection for default branch | `bool` | `true` | 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_delimiter\"\u003e\u003c/a\u003e [delimiter](#input\\_delimiter) | Delimiter to be used between `name`, `namespace`, `tenant`, etc. | `string` | `\"-\"` | no |\n| \u003ca name=\"input_deploy_keys\"\u003e\u003c/a\u003e [deploy\\_keys](#input\\_deploy\\_keys) | List of deploy keys configurations. | \u003cpre\u003elist(object({\u003cbr\u003e    title     = string\u003cbr\u003e    key       = string\u003cbr\u003e    read_only = bool\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | A description of the repository. | `string` | `\"\"` | no |\n| \u003ca name=\"input_environments\"\u003e\u003c/a\u003e [environments](#input\\_environments) | Repository environments. | \u003cpre\u003emap(object({\u003cbr\u003e    reviewers = optional(object({\u003cbr\u003e      teams = optional(list(string), [])\u003cbr\u003e      users = optional(list(string), [])\u003cbr\u003e    }))\u003cbr\u003e    branch_policy = optional(object({\u003cbr\u003e      protected_branches     = optional(bool, false)\u003cbr\u003e      custom_branch_policies = optional(bool, false)\u003cbr\u003e    }))\u003cbr\u003e    secrets = optional(map(object({\u003cbr\u003e      encrypted_value = optional(string)\u003cbr\u003e      plaintext_value = optional(string)\u003cbr\u003e    })))\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_fork\"\u003e\u003c/a\u003e [fork](#input\\_fork) | Create a fork of another repository. | \u003cpre\u003eobject({\u003cbr\u003e    owner      = string\u003cbr\u003e    repository = string\u003cbr\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_gitignore_template\"\u003e\u003c/a\u003e [gitignore\\_template](#input\\_gitignore\\_template) | Meaningful only during create, will be ignored after repository creation. Use the name of the template without the extension. For example, \"Terraform\". | `string` | `\"\"` | 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` | `\"\"` | 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_issue_labels\"\u003e\u003c/a\u003e [issue\\_labels](#input\\_issue\\_labels) | List of issue labels on the repository. | \u003cpre\u003elist(object({\u003cbr\u003e    name        = string\u003cbr\u003e    color       = string\u003cbr\u003e    description = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_license_template\"\u003e\u003c/a\u003e [license\\_template](#input\\_license\\_template) | Meaningful only during create, will be ignored after repository creation. Use the name of the template without the extension. For example, \"Terraform\". | `string` | `\"\"` | 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_namespace\"\u003e\u003c/a\u003e [namespace](#input\\_namespace) | Namespace, e.g. `terraform`, `product`, `mobile` etc. | `string` | `null` | no |\n| \u003ca name=\"input_pages\"\u003e\u003c/a\u003e [pages](#input\\_pages) | The repository's GitHub Pages configuration. | \u003cpre\u003eobject({\u003cbr\u003e    build_type = optional(string, \"legacy\")\u003cbr\u003e    source = optional(object({\u003cbr\u003e      branch = string\u003cbr\u003e      path   = string\u003cbr\u003e    }))\u003cbr\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_rulesets\"\u003e\u003c/a\u003e [rulesets](#input\\_rulesets) | n/a | \u003cpre\u003emap(object({\u003cbr\u003e    required_linear_history = optional(bool, true)\u003cbr\u003e    deletion                = optional(bool, true)\u003cbr\u003e    creation                = optional(bool, true)\u003cbr\u003e    update                  = optional(bool, false)\u003cbr\u003e    target                  = optional(string, \"branch\")\u003cbr\u003e    enforcement             = optional(string, \"active\")\u003cbr\u003e    includes                = optional(list(string), [\"~DEFAULT_BRANCH\"])\u003cbr\u003e    excludes                = optional(list(string), [])\u003cbr\u003e    non_fast_forward        = optional(bool, true)\u003cbr\u003e    required_signatures     = optional(bool, true)\u003cbr\u003e    bypass_actors = optional(map(object({\u003cbr\u003e      actor_id    = number\u003cbr\u003e      actor_type  = string\u003cbr\u003e      bypass_mode = optional(string, \"always\")\u003cbr\u003e    })), {})\u003cbr\u003e    pull_request = optional(object({\u003cbr\u003e      enabled                           = optional(bool, true)\u003cbr\u003e      dismiss_stale_reviews_on_push     = optional(bool, true)\u003cbr\u003e      require_code_owner_review         = optional(bool, true)\u003cbr\u003e      required_approving_review_count   = optional(number, 1)\u003cbr\u003e      required_review_thread_resolution = optional(bool, true)\u003cbr\u003e      require_last_push_approval        = optional(bool, true)\u003cbr\u003e    }), {})\u003cbr\u003e    required_status_checks = optional(object({\u003cbr\u003e      enabled                              = optional(bool, true)\u003cbr\u003e      strict_required_status_checks_policy = optional(bool, false)\u003cbr\u003e      contexts = optional(list(object({\u003cbr\u003e        integration_id = optional(number, 0)\u003cbr\u003e        context        = string\u003cbr\u003e      })), [])\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_secrets\"\u003e\u003c/a\u003e [secrets](#input\\_secrets) | Repository secrets. | \u003cpre\u003emap(object({\u003cbr\u003e    encrypted_value = optional(string)\u003cbr\u003e    plaintext_value = optional(string)\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | 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_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Additional tags (e.g. `map('BusinessUnit','XYZ')`) | `map(string)` | `{}` | no |\n| \u003ca name=\"input_teams\"\u003e\u003c/a\u003e [teams](#input\\_teams) | List of teams with permissions. Specify Team ID to avoid additional requests to GitHub API. | \u003cpre\u003elist(object({\u003cbr\u003e    id         = optional(string)\u003cbr\u003e    name       = string\u003cbr\u003e    permission = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_template\"\u003e\u003c/a\u003e [template](#input\\_template) | Use a template repository 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_tenant\"\u003e\u003c/a\u003e [tenant](#input\\_tenant) | A customer identifier, indicating who this instance of a resource is for. Could be used for application grouping. | `string` | `null` | no |\n| \u003ca name=\"input_topics\"\u003e\u003c/a\u003e [topics](#input\\_topics) | A list of topics to add to the repository. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_use_fullname\"\u003e\u003c/a\u003e [use\\_fullname](#input\\_use\\_fullname) | Set 'true' to use `namespace-tenant-name` for github repository name, else `name` | `bool` | `true` | no |\n| \u003ca name=\"input_visibility\"\u003e\u003c/a\u003e [visibility](#input\\_visibility) | Set to `public` to create a public (e.g. open source) repository. | `string` | `\"private\"` | no |\n| \u003ca name=\"input_vulnerability_alerts\"\u003e\u003c/a\u003e [vulnerability\\_alerts](#input\\_vulnerability\\_alerts) | Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. | `bool` | `false` | no |\n| \u003ca name=\"input_webhooks\"\u003e\u003c/a\u003e [webhooks](#input\\_webhooks) | List of webhook configurations. | \u003cpre\u003elist(object({\u003cbr\u003e    ident  = string # some unique string to identify this webhook\u003cbr\u003e    active = optional(bool, true)\u003cbr\u003e    events = list(string)\u003cbr\u003e    configuration = object({\u003cbr\u003e      url          = string\u003cbr\u003e      content_type = string\u003cbr\u003e      secret       = optional(string)\u003cbr\u003e      insecure_ssl = optional(bool, false)\u003cbr\u003e    })\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_dependabot_secrets\"\u003e\u003c/a\u003e [dependabot\\_secrets](#output\\_dependabot\\_secrets) | A map of dependabot secret names |\n| \u003ca name=\"output_environments\"\u003e\u003c/a\u003e [environments](#output\\_environments) | A list of created environments |\n| \u003ca name=\"output_environments_secrets\"\u003e\u003c/a\u003e [environments\\_secrets](#output\\_environments\\_secrets) | A map of environment secret names |\n| \u003ca name=\"output_repository\"\u003e\u003c/a\u003e [repository](#output\\_repository) | Created repository |\n| \u003ca name=\"output_repository_branch_protection\"\u003e\u003c/a\u003e [repository\\_branch\\_protection](#output\\_repository\\_branch\\_protection) | Default branch protection settings |\n| \u003ca name=\"output_repository_secrets\"\u003e\u003c/a\u003e [repository\\_secrets](#output\\_repository\\_secrets) | A map of create secret names |\n| \u003ca name=\"output_repository_webhook_urls\"\u003e\u003c/a\u003e [repository\\_webhook\\_urls](#output\\_repository\\_webhook\\_urls) | Webhook URLs |\n\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## License\n\n[MIT](LICENSE)\n\nCopyright (c) 2019-2022 [Flaconi GmbH](https://github.com/Flaconi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaconi%2Fterraform-github-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaconi%2Fterraform-github-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaconi%2Fterraform-github-repository/lists"}