Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ module "repository" {
custom_properties = var.custom_properties
environments = local.environments

variables = local.variables
secrets = local.secrets
deploy_keys = var.deploy_keys
webhooks = var.webhooks
labels = var.labels
teams = var.teams
users = var.users
rulesets = var.rulesets
variables = local.variables
secrets = local.secrets
deploy_keys = var.deploy_keys
webhooks = var.webhooks
labels = var.labels
teams = var.teams
users = var.users
organization_repository_roles_enabled = var.organization_repository_roles_enabled
rulesets = var.rulesets
}

locals {
Expand Down
6 changes: 6 additions & 0 deletions src/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ variable "users" {
nullable = false
}

variable "organization_repository_roles_enabled" {
description = "Whether to use organization repository roles."
type = bool
default = false
}

variable "rulesets" {
description = "A map of rulesets to configure for the repository"
type = map(object({
Expand Down
Loading