Datasource gitlab_projects - expected order_by to be one of [id name username created_at updated_at], got path
Bug Report
Our terraform code looks like this:
data "gitlab_projects" "all" {
order_by = "path"
sort = "asc"
}
output "gitlab_projects_all" {
value = data.gitlab_projects.all
}
terraform validate fails with the following error:
╷
│ Error: expected order_by to be one of [id name username created_at updated_at], got path
│
│ with data.gitlab_projects.all,
│ on datasources.tf line 11, in data "gitlab_projects" "all":
│ 11: order_by = "path"
│
╵
Relevant Terraform Configuration
terraform version
Terraform v1.2.2
on windows_amd64
+ provider registry.terraform.io/gitlabhq/gitlab v15.7.1
Your version of Terraform is out of date! The latest version
is 1.3.7. You can update by downloading from https://www.terraform.io/downloads.html