repository

JamesWoolfenden/repository/github

Terraform Module HCL GITHUB

A module to create a github repository with a protected master

Install
module "repository" {
source = "JamesWoolfenden/repository/github"
version = "0.2.5"
}
plain text: /constructs/tfmod-jameswoolfenden-repository-github/install.txt
⭐ Source on GitHub 📦 Registry page
README

[![Slalom][logo]](https://slalom.com) terraform-github-repository ![Build Status](https://github.com/JamesWoolfenden/terraform-github-repository) ![Latest Release](https://github.com/JamesWoolfenden/terraform-github-repository/releases/latest) ![pre-commit](https://github.com/pre-commit/pre-commit) ![pre-commit](https://www.checkov.io/) Short lived feature branching support. To use this against Github you need to have a Github Organisation. It also includes branch protection for master. PRS are required to update the master branch. Usage ``HCL module repo { source = "JamesWoolfenden/repository/github" } ` Requirements No requirements. Providers | Name | Version | |------|---------| | github | n/a | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|-----

Inputs (10)
NameTypeDescriptionDefault
has_wikiboolThis enables a wiki on your github repo. Why not. required
namestringWe are following tech-resource-topic after hashicorp. required
descriptionstringPut more effort into to descibing what your repo is about. required
topicslist required
privateboolUnless you have paid for private repos this ones going to be false.true
has_downloadsboolfalse
has_projectsboolfalse
branchstring"master"
enforce_adminsboolfalse
has_issuesboolfalse
Outputs (5)
full_name — A string of the form 'orgname/reponame'.
html_url — URL to the repository on the web.
ssh_clone_url — URL that can be provided to git clone to clone the repository via SSH.
http_clone_url — URL that can be provided to git clone to clone the repository via HTTPS.
git_clone_url — URL that can be provided to git clone to clone the repository anonymously via the git protocol
Resources (2)
github_branch_protectiongithub_repository
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.5
Cloud GITHUB
Total downloads781
Inputs10
Outputs5
Resources2
NamespaceJamesWoolfenden
Updated