Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 3.33 KB

File metadata and controls

85 lines (60 loc) · 3.33 KB

terraform-gitlab-user_runner

Terraform module to manage the following GitLab resources:

  • gitlab_user_runner

Usage

Copy and paste the following code snippet to your Terraform configuration, specify the required variables and run the command terraform init.

module "gitlab_group" {
  source  = "gitlab.com/terraform-child-modules-48151/terraform-gitlab-group/local"
  version = "1.1.4"

  name = "Example (group)"
  path = "example-group-48165"
}

module "gitlab_user_runner" {
  source  = "gitlab.com/terraform-child-modules-48151/terraform-gitlab-user-runner/local"
  version = "1.0.0"

  runner_type = "group_type"

  group_id = module.gitlab_group.id
}

Requirements

Name Version
terraform >= 1.0
gitlab ~> 18.0

Providers

Name Version
gitlab ~> 18.0

Modules

No modules.

Resources

Name Type
gitlab_user_runner.this resource

Inputs

Name Description Type Default Required
access_level The access level of the runner string "not_protected" no
description Description of the runner string null no
group_id The ID of the group that the runner is created in number null no
locked Specifies if the runner should be locked for the current project bool false no
maintenance_note Free-form maintenance notes for the runner string null no
maximum_timeout Maximum timeout that limits the amount of time (in seconds) that runners can run jobs number null no
paused Specifies if the runner should ignore new jobs bool false no
project_id The ID of the project that the runner is created in number null no
runner_type The scope of the runner string n/a yes
tag_list A list of runner tags list(string) [] no
untagged Specifies if the runner should handle untagged jobs bool true no

Outputs

Name Description
id The ID of the gitlab runner
token The authentication token to use when setting up a new runner with this configuration

Authors

Created and maintained by Dennis Hoppe.

License

Apache 2 licensed. See LICENSE for full details.