ProjectJobTokenScopeArgs

data class ProjectJobTokenScopeArgs(val project: Output<String>? = 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

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

Constructors

Link copied to clipboard
constructor(project: Output<String>? = null, targetProjectId: Output<Int>? = null)

Properties

Link copied to clipboard
val project: Output<String>? = null

The ID or full path of the project.

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

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

Functions

Link copied to clipboard
open override fun toJava(): ProjectJobTokenScopeArgs