Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.GroupServiceAccount data source retrieves information about a GitLab service account in a group.
Upstream API: GitLab REST API docs
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: gitlab:getGroup
arguments:
id: foo/bar/baz
# Basic example
exampleGetGroupServiceAccount:
fn::invoke:
function: gitlab:getGroupServiceAccount
arguments:
serviceAccountId: 1
group: ${example.id}
Using getGroupServiceAccount
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 getGroupServiceAccount(args: GetGroupServiceAccountArgs, opts?: InvokeOptions): Promise<GetGroupServiceAccountResult>
function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetGroupServiceAccountResult>def get_group_service_account(group: Optional[str] = None,
service_account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGroupServiceAccountResult
def get_group_service_account_output(group: Optional[pulumi.Input[str]] = None,
service_account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGroupServiceAccountResult]func LookupGroupServiceAccount(ctx *Context, args *LookupGroupServiceAccountArgs, opts ...InvokeOption) (*LookupGroupServiceAccountResult, error)
func LookupGroupServiceAccountOutput(ctx *Context, args *LookupGroupServiceAccountOutputArgs, opts ...InvokeOption) LookupGroupServiceAccountResultOutput> Note: This function is named LookupGroupServiceAccount in the Go SDK.
public static class GetGroupServiceAccount
{
public static Task<GetGroupServiceAccountResult> InvokeAsync(GetGroupServiceAccountArgs args, InvokeOptions? opts = null)
public static Output<GetGroupServiceAccountResult> Invoke(GetGroupServiceAccountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupServiceAccountResult> getGroupServiceAccount(GetGroupServiceAccountArgs args, InvokeOptions options)
public static Output<GetGroupServiceAccountResult> getGroupServiceAccount(GetGroupServiceAccountArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getGroupServiceAccount:getGroupServiceAccount
arguments:
# arguments dictionaryThe following arguments are supported:
- Group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- Service
Account stringId - The service account id.
- Group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- Service
Account stringId - The service account id.
- group String
- The ID or URL-encoded path of the target group. Must be a top-level group.
- service
Account StringId - The service account id.
- group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- service
Account stringId - The service account id.
- group str
- The ID or URL-encoded path of the target group. Must be a top-level group.
- service_
account_ strid - The service account id.
- group String
- The ID or URL-encoded path of the target group. Must be a top-level group.
- service
Account StringId - The service account id.
getGroupServiceAccount Result
The following output properties are available:
- Group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- Id string
- Name string
- The name of the user. If not specified, the default Service account user name is used.
- Service
Account stringId - The service account id.
- Username string
- The username of the user. If not specified, it's automatically generated.
- Group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- Id string
- Name string
- The name of the user. If not specified, the default Service account user name is used.
- Service
Account stringId - The service account id.
- Username string
- The username of the user. If not specified, it's automatically generated.
- group String
- The ID or URL-encoded path of the target group. Must be a top-level group.
- id String
- name String
- The name of the user. If not specified, the default Service account user name is used.
- service
Account StringId - The service account id.
- username String
- The username of the user. If not specified, it's automatically generated.
- group string
- The ID or URL-encoded path of the target group. Must be a top-level group.
- id string
- name string
- The name of the user. If not specified, the default Service account user name is used.
- service
Account stringId - The service account id.
- username string
- The username of the user. If not specified, it's automatically generated.
- group str
- The ID or URL-encoded path of the target group. Must be a top-level group.
- id str
- name str
- The name of the user. If not specified, the default Service account user name is used.
- service_
account_ strid - The service account id.
- username str
- The username of the user. If not specified, it's automatically generated.
- group String
- The ID or URL-encoded path of the target group. Must be a top-level group.
- id String
- name String
- The name of the user. If not specified, the default Service account user name is used.
- service
Account StringId - The service account id.
- username String
- The username of the user. If not specified, it's automatically generated.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
