Deploy Token
The gitlab.DeployToken resource allows to manage the lifecycle of group and project deploy tokens. Upstream API: GitLab REST API docs
Import
GitLab deploy tokens can be imported using an id made up of {type}:{type_id}:{deploy_token_id}, where type is one ofproject, group.
$ pulumi import gitlab:index/deployToken:DeployToken group_token group:1:3Content copied to clipboard
$ pulumi import gitlab:index/deployToken:DeployToken project_token project:1:4Content copied to clipboard
Notethe token resource attribute is not available for imported resources as this information cannot be read from the GitLab API.