Skip to content

Terraform module which creates GitHub repository resources.

Notifications You must be signed in to change notification settings

bogdan556/terraform-github-repository

 
 

Repository files navigation

terraform-github-repository

Terraform module which creates GitHub repository resources.

Requirements

Name Version
github 5.41.0

Providers

Name Version
github 5.41.0

Modules

No modules.

Resources

Name Type
github_branch_protection.self resource
github_repository.self resource
github_team_repository.self resource
github_team.self data source

Inputs

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

Outputs

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.

About

Terraform module which creates GitHub repository resources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 76.5%
  • Nix 21.6%
  • Just 1.9%