please add ability enable/disable option "Limit access to this project" setting (job token scope) of a project
Bug Report
Currently you can't enable/disable option "Limit access to this project" via gitlab_project_job_token_scope resources.
https://docs.gitlab.com/ee/api/project_job_token_scopes.html#patch-a-projects-cicd-job-token-access-settings
Relevant Terraform Configuration
With this configuration I can allow project to have access to this project.
resource "gitlab_project_job_token_scope" "allowed_single_project" {
project = "gitlab-org/gitlab"
target_project_id = 123
}
Additional Details
I propose a new API to change this behavior:
resource "gitlab_project_job_token_scope" "token" {
enabled = true
project = "gitlab-org/gitlab"
target_project_id = 123
}
Edited by Roman PASHKO