Instance Service Account Args
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
Content copied to clipboard
id
is the id of the service account
$ pulumi import gitlab:index/instanceServiceAccount:InstanceServiceAccount example example
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(name: Output<String>? = null, timeouts: Output<InstanceServiceAccountTimeoutsArgs>? = null, username: Output<String>? = null)