Module in Terraform registry: https://registry.terraform.io/modules/ministryofjustice/repository/github/latest
Setup Terraform format pre-commit
`make setup-precommit'
module "repository" {
source = "ministryofjustice/repository/github"
version = "n.n.n"
name = ""
application_name = ""
description = ""
}
If you want to raise an issue with this module, please create a new issue in the Operations Engineering repository.
| Name | Version |
|---|---|
| terraform | ~> 1.0 |
| github | ~> 5.0 |
| Name | Version |
|---|---|
| github | ~> 5.0 |
No modules.
| Name | Type |
|---|---|
| github_actions_secret.default | resource |
| github_actions_variable.default | resource |
| github_branch_protection.default | resource |
| github_repository.default | resource |
| github_team_repository.admin | resource |
| github_team_repository.maintain | resource |
| github_team_repository.pull | resource |
| github_team_repository.push | resource |
| github_actions_public_key.default | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| archive_on_destroy | Archive repository instead of deleting it on destroy | bool |
true |
no |
| description | Repository description | string |
n/a | yes |
| has_discussions | Enable repository discussions | bool |
false |
no |
| homepage_url | Repository homepage URL | string |
"" |
no |
| name | Repository name | string |
n/a | yes |
| poc | Is this repository a Proof of Concept? | bool |
n/a | yes |
| required_checks | List of required checks | list(string) |
[] |
no |
| secrets | key:value map for GitHub actions secrets | map(any) |
{} |
no |
| team_access | Team access types for created repository | object({ |
{ |
no |
| template | Template repository to use when creating the repository | object({ |
{ |
no |
| topics | n/a | list(string) |
[] |
no |
| type | Type of repository: core, module, template. Defaults to core |
string |
"core" |
no |
| variables | key:value map for repository variables | map(any) |
{} |
no |
| visibility | Visibility type: public, internal, private |
string |
"public" |
no |
| Name | Description |
|---|---|
| actions_variables | n/a |
| admins | n/a |
| branch_protection | n/a |
| maintainers | n/a |
| pullers | n/a |
| pushers | n/a |
| repository | n/a |