published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
The gitlab.RunnerControllerInstanceScope resource manages the instance-level scope of a runner controller.
This resource is experimental and may change or be removed in future versions. Introduced in GitLab 18.10.
This resource requires administration privileges.
Instance scopes and runner scopes are mutually exclusive on a runner controller.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const example = new gitlab.RunnerControllerInstanceScope("example", {runnerControllerId: exampleGitlabRunnerController.id});
import pulumi
import pulumi_gitlab as gitlab
example = gitlab.RunnerControllerInstanceScope("example", runner_controller_id=example_gitlab_runner_controller["id"])
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.NewRunnerControllerInstanceScope(ctx, "example", &gitlab.RunnerControllerInstanceScopeArgs{
RunnerControllerId: pulumi.Any(exampleGitlabRunnerController.Id),
})
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 example = new GitLab.Index.RunnerControllerInstanceScope("example", new()
{
RunnerControllerId = exampleGitlabRunnerController.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.RunnerControllerInstanceScope;
import com.pulumi.gitlab.RunnerControllerInstanceScopeArgs;
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) {
var example = new RunnerControllerInstanceScope("example", RunnerControllerInstanceScopeArgs.builder()
.runnerControllerId(exampleGitlabRunnerController.id())
.build());
}
}
resources:
example:
type: gitlab:RunnerControllerInstanceScope
properties:
runnerControllerId: ${exampleGitlabRunnerController.id}
Create RunnerControllerInstanceScope Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RunnerControllerInstanceScope(name: string, args: RunnerControllerInstanceScopeArgs, opts?: CustomResourceOptions);@overload
def RunnerControllerInstanceScope(resource_name: str,
args: RunnerControllerInstanceScopeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RunnerControllerInstanceScope(resource_name: str,
opts: Optional[ResourceOptions] = None,
runner_controller_id: Optional[int] = None)func NewRunnerControllerInstanceScope(ctx *Context, name string, args RunnerControllerInstanceScopeArgs, opts ...ResourceOption) (*RunnerControllerInstanceScope, error)public RunnerControllerInstanceScope(string name, RunnerControllerInstanceScopeArgs args, CustomResourceOptions? opts = null)
public RunnerControllerInstanceScope(String name, RunnerControllerInstanceScopeArgs args)
public RunnerControllerInstanceScope(String name, RunnerControllerInstanceScopeArgs args, CustomResourceOptions options)
type: gitlab:RunnerControllerInstanceScope
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RunnerControllerInstanceScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RunnerControllerInstanceScopeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RunnerControllerInstanceScopeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RunnerControllerInstanceScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RunnerControllerInstanceScopeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RunnerControllerInstanceScope Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RunnerControllerInstanceScope resource accepts the following input properties:
- Runner
Controller intId - The ID of the runner controller.
- Runner
Controller intId - The ID of the runner controller.
- runner
Controller IntegerId - The ID of the runner controller.
- runner
Controller numberId - The ID of the runner controller.
- runner_
controller_ intid - The ID of the runner controller.
- runner
Controller NumberId - The ID of the runner controller.
Outputs
All input properties are implicitly available as output properties. Additionally, the RunnerControllerInstanceScope resource produces the following output properties:
- created_
at str - The time the scope was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The time the scope was last updated.
Look up Existing RunnerControllerInstanceScope Resource
Get an existing RunnerControllerInstanceScope resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RunnerControllerInstanceScopeState, opts?: CustomResourceOptions): RunnerControllerInstanceScope@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
runner_controller_id: Optional[int] = None,
updated_at: Optional[str] = None) -> RunnerControllerInstanceScopefunc GetRunnerControllerInstanceScope(ctx *Context, name string, id IDInput, state *RunnerControllerInstanceScopeState, opts ...ResourceOption) (*RunnerControllerInstanceScope, error)public static RunnerControllerInstanceScope Get(string name, Input<string> id, RunnerControllerInstanceScopeState? state, CustomResourceOptions? opts = null)public static RunnerControllerInstanceScope get(String name, Output<String> id, RunnerControllerInstanceScopeState state, CustomResourceOptions options)resources: _: type: gitlab:RunnerControllerInstanceScope get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - The time the scope was created.
- Runner
Controller intId - The ID of the runner controller.
- Updated
At string - The time the scope was last updated.
- Created
At string - The time the scope was created.
- Runner
Controller intId - The ID of the runner controller.
- Updated
At string - The time the scope was last updated.
- created
At String - The time the scope was created.
- runner
Controller IntegerId - The ID of the runner controller.
- updated
At String - The time the scope was last updated.
- created
At string - The time the scope was created.
- runner
Controller numberId - The ID of the runner controller.
- updated
At string - The time the scope was last updated.
- created_
at str - The time the scope was created.
- runner_
controller_ intid - The ID of the runner controller.
- updated_
at str - The time the scope was last updated.
- created
At String - The time the scope was created.
- runner
Controller NumberId - The ID of the runner controller.
- updated
At String - The time the scope was last updated.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
published on Tuesday, Apr 21, 2026 by Pulumi
