InstanceServiceAccountArgs

data class InstanceServiceAccountArgs(val name: Output<String>? = null, val timeouts: Output<InstanceServiceAccountTimeoutsArgs>? = null, val username: Output<String>? = null) : ConvertibleToJava<InstanceServiceAccountArgs>

The gitlab.InstanceServiceAccount resource allows creating a GitLab instance service account.

In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on gitlab.com Upstream API: GitLab REST API docs

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_instance_service_account. For example: terraform import { to = gitlab_instance_service_account.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax:

$ pulumi import gitlab:index/instanceServiceAccount:InstanceServiceAccount You can import a group service account using `<resource> <id>`. The

id is the id of the service account

$ pulumi import gitlab:index/instanceServiceAccount:InstanceServiceAccount example example

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, timeouts: Output<InstanceServiceAccountTimeoutsArgs>? = null, username: Output<String>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The name of the user. If not specified, the default Service account user name is used.

Link copied to clipboard
Link copied to clipboard
val username: Output<String>? = null

The username of the user. If not specified, it’s automatically generated.

Functions

Link copied to clipboard
open override fun toJava(): InstanceServiceAccountArgs