gitlab_project_runner_enablement (Resource)

The gitlab_project_runner_enablement resource allows to enable a runner in a project.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project_runner_enablement" "foo" {
  project   = 5
  runner_id = 7
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# GitLab project runners can be imported using an id made up of `project:runner_id`, e.g.
terraform import gitlab_project_runner_enablement.foo 5:7