Terraform module which creates GitHub repository resources.
Name | Version |
---|---|
github | 5.41.0 |
Name | Version |
---|---|
github | 5.41.0 |
No modules.
Name | Type |
---|---|
github_branch_protection.self | resource |
github_repository.self | resource |
github_team_repository.self | resource |
github_team.self | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allow_auto_merge | Whether to allow auto-merging pull requests | bool |
false |
no |
allow_merge_commit | Whether to allow merge commits | bool |
false |
no |
allow_rebase_merge | Whether to allow rebase merges | bool |
true |
no |
allow_squash_merge | Whether to allow squash merges | bool |
true |
no |
description | The description of the repository | string |
n/a | yes |
gitignore_template | The gitignore template of the repository | string |
null |
no |
has_branch_protection | Whether the repository has branch protection enabled | bool |
true |
no |
has_discussions | Whether the repository has discussions enabled | bool |
false |
no |
has_issues | Whether the repository has issues enabled | bool |
false |
no |
has_projects | Whether the repository has projects enabled | bool |
false |
no |
has_wiki | Whether the repository has wiki enabled | bool |
false |
no |
license_template | Wheter the repository uses a license template | string |
null |
no |
name | The name of the repository | string |
n/a | yes |
owner | The name of the repository | string |
n/a | yes |
required_status_checks_contexts | The list of status checks to require in order to merge into this branch | list(string) |
[] |
no |
teams | The teams to grant access to, and their permission levels | map(string) |
{} |
no |
topics | The topics of the repository | list(string) |
[] |
no |
visibility | The visibility of the repository | string |
"private" |
no |
vulnerability_alerts | Whether the repository has vulnerability alerts enabled | bool |
false |
no |
Name | Description |
---|---|
full_name | The full name of the repository. |
git_clone_url | The Git URL of the repository. |
html_url | The HTML URL of the repository. |
http_clone_url | The HTTP URL of the repository. |
node_id | The Node ID of the repository. |
repo_id | The ID of the repository. |
ssh_clone_url | The SSH URL of the repository. |
svn_url | The SVN URL of the repository. |