Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing arguments in azuredevops_project_pipeline_settings #765

Open
leighmo opened this issue May 9, 2023 · 8 comments
Open

Missing arguments in azuredevops_project_pipeline_settings #765

leighmo opened this issue May 9, 2023 · 8 comments

Comments

@leighmo
Copy link

leighmo commented May 9, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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.

  • "Limit job authorization scope to current project for release pipelines" - Most important
  • "Disable creation of classic build and classic release pipelines" - Less important

Thanks

New or Affected Resource(s)

azuredevops_project_pipeline_settings

Potential Terraform Configuration

Untested

References

No

@leighmo leighmo changed the title Missing properties in azuredevops_project_pipeline_settings Missing arguments in azuredevops_project_pipeline_settings May 9, 2023
@xuzhang3
Copy link
Collaborator

@leighmo "Limit job authorization scope to current project for release pipelines" has been support be resource azuredevops_project_pipeline_settings.enforce_job_scope

@leighmo
Copy link
Author

leighmo commented May 12, 2023

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"

ADO-Pipeline-Settings

Cheers

@ashleyghooper
Copy link

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.

@xuzhang3
Copy link
Collaborator

New features will be available after upgrading to v7 API

@xuzhang3
Copy link
Collaborator

Disable creation of classic build and classic release pipelines - This configuration cannot be updated via the API.
Issue: microsoft/azure-devops-go-api#133

@citrix-pradeep
Copy link

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"
image

@xuzhang3
Copy link
Collaborator

xuzhang3 commented Jan 2, 2024

@citrix-pradeep SDK does not support these two properties yet.

@arodindev
Copy link

arodindev commented Feb 18, 2025

@xuzhang3 are there any plans on adding the missing project pipeline settings in near future? This would be very helpful for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants