InstanceServiceAccount

class InstanceServiceAccount : KotlinCustomResource

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

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The service account id.

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

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