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

Terraform - set Repo Policies #113

Closed
andrefcpimentel2 opened this issue Jul 29, 2020 · 6 comments
Closed

Terraform - set Repo Policies #113

andrefcpimentel2 opened this issue Jul 29, 2020 · 6 comments

Comments

@andrefcpimentel2
Copy link

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

The provider does not implement the following Repository Policies:

  • Maximum path length
  • Maximum file size

New or Affected Resource(s)

  • azuredevops_git_repository

Potential Terraform Configuration

resource azuredevops_branch_policy_file_validation {
maximum_path_length = 248

maximum_file_size = "2mb"
}

References

  • #0000
@racdev
Copy link

racdev commented Jan 28, 2021

We would also like the "File path validation" policy settings to be implemented by the provider.

@racdev
Copy link

racdev commented Jun 16, 2021

@xuzhang3 - just noticed the new azuredevops_repository_policy_file_path_pattern resource in the latest release, thanks for that.

However, our requirement is to apply the policy at project level (i.e. the "All Repositories" policies screen in the UI), but that doesnt look to be an option in the new resource (as repo is required)?

@xuzhang3
Copy link
Collaborator

@racdev The implemented policies are based on repository and there are 4 repository level policies not implemented. The project level policy not covered yet.

@racdev
Copy link

racdev commented Jun 16, 2021

@xuzhang3 do you want a separate issue raising for the project level policies?

@xuzhang3
Copy link
Collaborator

@racdev feel free to open another feature requirement issue

@xuzhang3
Copy link
Collaborator

Close this issue by #436

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

3 participants