Instance Service Account
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.comUpstream 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>`. TheContent copied to clipboard
id is the id of the service account
$ pulumi import gitlab:index/instanceServiceAccount:InstanceServiceAccount example exampleContent copied to clipboard