feat: enable shared runner by default
This commit is contained in:
parent
3b41630e91
commit
d78af564d6
2 changed files with 11 additions and 5 deletions
1
main.tf
1
main.tf
|
|
@ -4,6 +4,7 @@ resource "gitlab_project" "project" {
|
|||
description = var.project_desc
|
||||
namespace_id = var.project_namespace_id
|
||||
default_branch = var.project_default_branch
|
||||
shared_runners_enabled = var.shared_runners_enabled
|
||||
}
|
||||
|
||||
resource "gitlab_branch_protection" "default_branch_protection" {
|
||||
|
|
|
|||
|
|
@ -28,3 +28,8 @@ variable "protection_merge_access_level" {
|
|||
type = string
|
||||
default = "maintainer"
|
||||
}
|
||||
|
||||
variable "shared_runners_enabled" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue