Git sync folderless not working

Running grafana enterprise self hosted version 13.2.0. trying to setup folderless git sync and my terraform provider returns this error. This is supposed to be enabled on 13.2.0, what is happening there?

│ Error: invalid value for field "spec.target":

│ with grafana_apps_provisioning_repository_v0alpha1.dashboards,
│ on git_sync.tf line 22, in resource "grafana_apps_provisioning_repository_v0alpha1" "dashboards":
│ 22: spec {

│ * Invalid value: "folderless": sync target is not supported

folderless is supported by Git Sync, but this error indicates that the Grafana Terraform provider/API you’re using does not recognize folderless.

First, check your Grafana Terraform provider version. Git Sync’s Terraform documentation requires grafana/grafana >= 4.28.1

terraform providers

If you’re on an older version, upgrade it

terraform init -upgrade

Then run terraform apply again.

If you’re already on >= 4.28.1, please share the provider version and your grafana_apps_provisioning_repository_v0alpha1 resource configuration. That would be needed to determine why Grafana 13.2.0 is rejecting folderless.