Project Job Token Scope Args
data class ProjectJobTokenScopeArgs(val project: Output<String>? = null, val targetGroupId: Output<Int>? = null, val targetProjectId: Output<Int>? = null) : ConvertibleToJava<ProjectJobTokenScopeArgs>
The gitlab.ProjectJobTokenScope
resource allows to manage the CI/CD Job Token scope in a project. Any projects added to the CI/CD Job Token scope outside of TF will be untouched by the resource.
Conflicts with the use of
gitlab.ProjectJobTokenScopes
when used on the same project. Use one or the other to ensure the desired state. Upstream API: GitLab REST API docs
Import
Starting in Terraform v1.5.0 you can use an import block to import gitlab_project_job_token_scope
. For example: terraform import { to = gitlab_project_job_token_scope.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: GitLab project job token scopes can be imported using an id made up of projectId:targetProjectId
, e.g.
$ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:321
Content copied to clipboard