Error: creating authorized resource: Resource id exceeds maximum length of 100.
with azuredevops_pipeline_authorization.gitops_repository,
on main.tf line 74, in resource "azuredevops_pipeline_authorization" "gitops_repository":
74: resource "azuredevops_pipeline_authorization" "gitops_repository" {
Steps to Reproduce
Try to reference a cross-project repository in authorization
What I see happening when I grant permission through the UI is a call to the endpoint with a body type of PipelinePermissions[], meanwhile I believe the terraform resource is calling with the resource type which should be the one throwing the error, as with the former, the resourceId goes in the url and not in the body.
Community Note
Terraform (and Azure DevOps Provider) Version
Azure Devops: 1.0.1 Terraform: v1.5.5
Affected Resource(s)
azuredevops_pipeline_authorization
Terraform Configuration Files
Expected Behavior
Actual Behavior
Steps to Reproduce
Try to reference a cross-project repository in authorization
What I see happening when I grant permission through the UI is a call to the endpoint with a body type of PipelinePermissions[], meanwhile I believe the terraform resource is calling with the resource type which should be the one throwing the error, as with the former, the resourceId goes in the url and not in the body.
I've looked at the definitions here: https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/pipeline-permissions/update-pipeline-permisions-for-resource?view=azure-devops-rest-7.1&tabs=HTTP#request-body