The gitlab_project_runner_enablement
resource allows to enable a runner in a project.
Upstream API: GitLab REST API docs
resource "gitlab_project_runner_enablement" "foo" {
project = 5
runner_id = 7
}
project
(String) The ID or URL-encoded path of the project owned by the authenticated user.runner_id
(Number) The ID of a runner to enable for the project.id
(String) The ID of this resource.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