Open leighmo opened 1 year ago
@leighmo "Limit job authorization scope to current project for release pipelines" has been support be resource azuredevops_project_pipeline_settings.enforce_job_scope
Hi @xuzhang3,
Thanks for the reply. There are two options in the Azure DevOps Pipeline settings.
Limit job authorization scope to current project for non-release pipelines Non-Release Pipelines can run with collection scoped access tokens unless this option is enabled. With this option enabled, you can reduce the scope of access for all non-release pipelines to the current project.
Limit job authorization scope to current project for release pipelines Release pipelines can run with collection scoped access tokens unless this option is enabled. With this option enabled, you can reduce the scope of access for all release pipelines to the current project.
The current module covers off the first option "non-release pipelines" but does not address the second option "release pipelines"
Cheers
Yes, we've been disabling the limit for release pipelines as a manual step and would greatly appreciate being able to do this via TF.
New features will be available after upgrading to v7 API
Disable creation of classic build and classic release pipelines - This configuration cannot be updated via the API. Issue: https://github.com/microsoft/azure-devops-go-api/issues/133
Hi @xuzhang3 , can we have terraform support for [azuredevops_project_pipeline_settings] - Support pipeline general settings for " Disable creation of classic build and classic release pipelines"
@citrix-pradeep SDK does not support these two properties yet.
Community Note
Description
We need to be able to set the following arguments in the Project pipeline settings as we leverage modules in other projects that reside outside of the existing project the pipeline is executed from. We also want to disable class build/release pipelines via code and have these checked regularly to make sure they are not being changed.
Thanks
New or Affected Resource(s)
azuredevops_project_pipeline_settings
Potential Terraform Configuration
Untested
References
No