repository

Flaconi/repository/github

Terraform Module HCL GITHUB

Terraform module for maintaining Github repo's

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

GitHub Repository Module ![lint](https://github.com/flaconi/terraform-github-repository/actions?query=workflow%3Alinting) ![test](https://github.com/flaconi/terraform-github-repository/actions?query=workflow%3Atesting) ![Tag](https://github.com/Flaconi/terraform-github-repository/releases) ![Terraform](https://registry.terraform.io/modules/Flaconi/repository/github/) ![license](http://opensource.org/licenses/MIT) This Terraform module manages GitHub repositories. Example Usage Create private repository ``hcl module "my_pets_website_repo" { source = "github.com/flaconi/terraform-github-repository.git?ref=master" name = "my-pets-website" description = "My pets codebase." visibility = "private" gitignore_template = "Node" default_branch_protection_enabled = false } ` Create public (e.g. open

Inputs (49)
NameTypeDescriptionDefault
namestringThe name of the repository. required
deploy_keyslist(object({ title = List of deploy keys configurations.[]
vulnerability_alertsboolSet to `true` to enable security alerts for vulnerable dependencies. Enabling refalse
webhookslist(object({ ident = strList of webhook configurations.[]
auto_initboolMeaningful only during create; set to `true` to produce an initial commit in thtrue
delimiterstringDelimiter to be used between `name`, `namespace`, `tenant`, etc."-"
allow_update_branchboolSet to `true` to always suggest updating pull request branches.false
merge_commit_titlestringCan be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title."MERGE_MESSAGE"
delete_branch_on_mergeboolAutomatically delete head branch after a pull request is merged.true
teamslist(object({ id =List of teams with permissions. Specify Team ID to avoid additional requests to []
pagesobject({ build_type = optiThe repository's GitHub Pages configuration.null
has_issuesboolSet to `false` to disable the GitHub Issues features on the repository.true
allow_squash_mergeboolSet to `false` to disable squash merges on the repository.true
allow_auto_mergeboolSet to `true` to allow auto-merging pull requests on the repository.false
squash_merge_commit_titlestringCan be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit titl"COMMIT_OR_PR_TITLE"
issue_labelslist(object({ name List of issue labels on the repository.[]
secretsmap(object({ encrypted_valRepository secrets.{}
allow_merge_commitboolSet to `false` to disable merge commits on the repository.false
actions_repository_access_levelstringThis resource allows you to set the access level of a non-public repositories acnull
collaboratorsmap(string)Map of users with permissions.{}
bot_secretsmap(object({ encrypted_valRepository dependabot secrets.{}
… and 9 more inputs
Outputs (7)
environments_secrets — A map of environment secret names
repository_webhook_urls — Webhook URLs
repository — Created repository
repository_branch_protection — Default branch protection settings
repository_secrets — A map of create secret names
dependabot_secrets — A map of dependabot secret names
environments — A list of created environments
Resources (14)
github_actions_environment_secretgithub_actions_repository_access_levelgithub_actions_secretgithub_branch_defaultgithub_branch_protectiongithub_dependabot_secretgithub_issue_labelgithub_repositorygithub_repository_collaboratorgithub_repository_deploy_keygithub_repository_environmentgithub_repository_rulesetgithub_repository_webhookgithub_team_repository
Details
FrameworkTerraform Module
LanguageHCL
Version6.3.0
Cloud GITHUB
★ Stars1
Forks0
Total downloads471
Inputs49
Outputs7
Resources14
Examples9
LicenseMIT
NamespaceFlaconi
Updated