repository

devdynamicio/repository/github

Terraform Module HCL GITHUB

Terraform module to create an GitHub repositories πŸ‡ΊπŸ‡¦

Install
module "repository" {
source = "devdynamicio/repository/github"
version = "1.0.0"
}
plain text: /constructs/tfmod-devdynamicio-repository-github/install.txt
⭐ Source on GitHub πŸ“¦ Registry page
README

GitHub Repositories Terraform module Terraform Module for managing GitHub Repositories and associated resources. ![SWUbanner](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) Requirements This module requires Terraform version 0.13.0 or newer. Dependencies This module depends on a correctly configured GitHub Provider in your Terraform codebase. Usage Add the module to your Terraform resources like so: ``hcl module "repository" { source = "devdynamicio/repository/github" version = "1.0.0" } ` Additional usage examples are available in the examples. Requirements | Name | Version | |------|---------| | terraform | >= 0.13.0 | | github | >= 4.23.0 | Providers | Name | Version | |------|---------| | github | >= 4.23.0 | Modules No modules. Resources | Name | Type | |---

Inputs (23)
NameTypeDescriptionDefault
has_wikiboolToggle to enable GitHub Wiki for the Repositorytrue
is_templateboolToggle to enable Template use for the Repositoryfalse
has_downloadsboolToggle to enable (deprecated) GitHub Downloads for the Repositoryfalse
license_templatestringIdentifier to use for initial `LICENSE` file for the Repository""
default_branchstringName of the Default Branch of the Repository"main"
visibilitystringToggle to create a Private Repository"private"
has_projectsboolToggle to enable GitHub Projects for the Repositoryfalse
archive_on_destroyboolToggle to archive the Repository on destroyfalse
namestringName of the Repository""
allow_rebase_mergeboolToggle to enable Rebase Merges for the Repositorytrue
allow_merge_commitboolToggle to enable Merge Commits for the Repositorytrue
auto_initboolToggle to create an initial commit in the Repositoryfalse
gitignore_templatestringTemplate to use for initial `.gitignore` file for the Repository""
archivedboolToggle to archive the Repository (see notes in `README.md`)false
templatemap(string)Template Repository to use when creating the Repository{}
vulnerability_alertsboolToggle to enable Vulnerability Alerts for the Repositorytrue
descriptionstringDescription of the Repository""
homepage_urlstringURL of a page describing the Repository""
delete_branch_on_mergeboolToggle to automatically delete merged Branches for the Repositoryfalse
pagesmap(any)Configuration block for GitHub Pages{}
Outputs (9)
repo_id β€” ID of the Repository
svn_url β€” URL to check out the repository via GitHub's Subversion protocol emulation
node_id β€” Node ID of the Repository
name β€” A string of the form "reponame"
full_name β€” A string of the form "orgname/reponame"
html_url β€” URL to the repository on the web
ssh_clone_url β€” URL to the repository to clone via SSH
http_clone_url β€” URL to clone the repository via HTTPs
git_clone_url β€” URL to clone the repository via the git protocol
Resources (2)
github_branch_defaultgithub_repository
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud GITHUB
β˜… Stars0
Forks0
Total downloads402
Inputs23
Outputs9
Resources2
Examples1
LicenseApache-2.0
Namespacedevdynamicio
Updated