1. Packages
  2. Packages
  3. Gitlab Provider
  4. API Docs
  5. getRunnerControllers
Viewing docs for GitLab v9.11.0
published on Tuesday, Apr 21, 2026 by Pulumi
gitlab logo
Viewing docs for GitLab v9.11.0
published on Tuesday, Apr 21, 2026 by Pulumi

    The gitlab.getRunnerControllers data source retrieves all runner controllers.

    This data source is experimental and may change or be removed in future versions. Introduced in GitLab 18.9.

    This data source requires administration privileges.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const all = gitlab.getRunnerControllers({});
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    all = gitlab.get_runner_controllers()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v9/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gitlab.GetRunnerControllers(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var all = GitLab.Index.GetRunnerControllers.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.GitlabFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = GitlabFunctions.getRunnerControllers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: gitlab:getRunnerControllers
          arguments: {}
    

    Using getRunnerControllers

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRunnerControllers(opts?: InvokeOptions): Promise<GetRunnerControllersResult>
    function getRunnerControllersOutput(opts?: InvokeOptions): Output<GetRunnerControllersResult>
    def get_runner_controllers(opts: Optional[InvokeOptions] = None) -> GetRunnerControllersResult
    def get_runner_controllers_output(opts: Optional[InvokeOptions] = None) -> Output[GetRunnerControllersResult]
    func GetRunnerControllers(ctx *Context, opts ...InvokeOption) (*GetRunnerControllersResult, error)
    func GetRunnerControllersOutput(ctx *Context, opts ...InvokeOption) GetRunnerControllersResultOutput

    > Note: This function is named GetRunnerControllers in the Go SDK.

    public static class GetRunnerControllers 
    {
        public static Task<GetRunnerControllersResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetRunnerControllersResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRunnerControllersResult> getRunnerControllers(InvokeOptions options)
    public static Output<GetRunnerControllersResult> getRunnerControllers(InvokeOptions options)
    
    fn::invoke:
      function: gitlab:index/getRunnerControllers:getRunnerControllers
      arguments:
        # arguments dictionary

    getRunnerControllers Result

    The following output properties are available:

    Id string
    The ID of this data source.
    RunnerControllers List<Pulumi.GitLab.Outputs.GetRunnerControllersRunnerController>
    The list of runner controllers.
    Id string
    The ID of this data source.
    RunnerControllers []GetRunnerControllersRunnerController
    The list of runner controllers.
    id String
    The ID of this data source.
    runnerControllers List<GetRunnerControllersRunnerController>
    The list of runner controllers.
    id string
    The ID of this data source.
    runnerControllers GetRunnerControllersRunnerController[]
    The list of runner controllers.
    id str
    The ID of this data source.
    runner_controllers Sequence[GetRunnerControllersRunnerController]
    The list of runner controllers.
    id String
    The ID of this data source.
    runnerControllers List<Property Map>
    The list of runner controllers.

    Supporting Types

    GetRunnerControllersRunnerController

    CreatedAt string
    The time the runner controller was created.
    Description string
    The description of the runner controller.
    Id int
    The ID of the runner controller.
    State string
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    UpdatedAt string
    The time the runner controller was last updated.
    CreatedAt string
    The time the runner controller was created.
    Description string
    The description of the runner controller.
    Id int
    The ID of the runner controller.
    State string
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    UpdatedAt string
    The time the runner controller was last updated.
    createdAt String
    The time the runner controller was created.
    description String
    The description of the runner controller.
    id Integer
    The ID of the runner controller.
    state String
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    updatedAt String
    The time the runner controller was last updated.
    createdAt string
    The time the runner controller was created.
    description string
    The description of the runner controller.
    id number
    The ID of the runner controller.
    state string
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    updatedAt string
    The time the runner controller was last updated.
    created_at str
    The time the runner controller was created.
    description str
    The description of the runner controller.
    id int
    The ID of the runner controller.
    state str
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    updated_at str
    The time the runner controller was last updated.
    createdAt String
    The time the runner controller was created.
    description String
    The description of the runner controller.
    id Number
    The ID of the runner controller.
    state String
    The state of the runner controller. Valid values are: disabled, enabled, dryRun.
    updatedAt String
    The time the runner controller was last updated.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    Viewing docs for GitLab v9.11.0
    published on Tuesday, Apr 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.