terraform-github-repository
Terraform module which creates GitHub repository resources.
No modules.
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 |