repository
Flaconi/repository/github
Terraform module for maintaining Github repo's
GitHub Repository Module      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
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the repository. | required |
| deploy_keys | list(object({ title = | List of deploy keys configurations. | [] |
| vulnerability_alerts | bool | Set to `true` to enable security alerts for vulnerable dependencies. Enabling re | false |
| webhooks | list(object({ ident = str | List of webhook configurations. | [] |
| auto_init | bool | Meaningful only during create; set to `true` to produce an initial commit in th | true |
| delimiter | string | Delimiter to be used between `name`, `namespace`, `tenant`, etc. | "-" |
| allow_update_branch | bool | Set to `true` to always suggest updating pull request branches. | false |
| merge_commit_title | string | Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. | "MERGE_MESSAGE" |
| delete_branch_on_merge | bool | Automatically delete head branch after a pull request is merged. | true |
| teams | list(object({ id = | List of teams with permissions. Specify Team ID to avoid additional requests to | [] |
| pages | object({ build_type = opti | The repository's GitHub Pages configuration. | null |
| has_issues | bool | Set to `false` to disable the GitHub Issues features on the repository. | true |
| allow_squash_merge | bool | Set to `false` to disable squash merges on the repository. | true |
| allow_auto_merge | bool | Set to `true` to allow auto-merging pull requests on the repository. | false |
| squash_merge_commit_title | string | Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit titl | "COMMIT_OR_PR_TITLE" |
| issue_labels | list(object({ name | List of issue labels on the repository. | [] |
| secrets | map(object({ encrypted_val | Repository secrets. | {} |
| allow_merge_commit | bool | Set to `false` to disable merge commits on the repository. | false |
| actions_repository_access_level | string | This resource allows you to set the access level of a non-public repositories ac | null |
| collaborators | map(string) | Map of users with permissions. | {} |
| bot_secrets | map(object({ encrypted_val | Repository dependabot secrets. | {} |
| … and 9 more inputs | |||
environments_secrets — A map of environment secret namesrepository_webhook_urls — Webhook URLsrepository — Created repositoryrepository_branch_protection — Default branch protection settingsrepository_secrets — A map of create secret namesdependabot_secrets — A map of dependabot secret namesenvironments — A list of created environmentsAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,