ProjectJobTokenScope

class ProjectJobTokenScope : KotlinCustomResource

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

Properties

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

The ID or full path of the project.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val targetGroupId: Output<Int>?

The ID of the group that is in the CI/CD job token inbound allowlist.

Link copied to clipboard
val targetProjectId: Output<Int>?

The ID of the project that is in the CI/CD job token inbound allowlist.

Link copied to clipboard
val urn: Output<String>