# Git sync folderless not working

**URL:** <https://community.grafana.com/t/git-sync-folderless-not-working/164243>\
**Category:** Configuration\
**Tags:** git\
**Created:** [August 24, 2026, 9:20pm UTC](https://community.grafana.com/t/git-sync-folderless-not-working/164243 "2026-08-24T21:20:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccareau](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@ccareau](https://community.grafana.com/u/ccareau)\
**Post date:** [August 24, 2026, 9:20pm UTC](https://community.grafana.com/t/git-sync-folderless-not-working/164243/1 "2026-08-24T21:20:28Z")

</div>

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`  
`╵`

---

<div class="post-metadata">

**Author:** ![infofcc3](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/infofcc3/32/51248_2.png) [@infofcc3](https://community.grafana.com/u/infofcc3)\
**Post date:** [August 25, 2026, 3:56am UTC](https://community.grafana.com/t/git-sync-folderless-not-working/164243/2 "2026-08-25T03:56:19Z")

</div>

`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`

```bash
terraform providers

```

If you’re on an older version, upgrade it

```bash
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`.

> **[Set up Git Sync with Terraform | Grafana documentation](https://grafana.com/docs/grafana/latest/as-code/observability-as-code/git-sync/git-sync-setup/set-up-terraform/)**
>
> Instructions for setting up Git Sync as code, so you can provision Git repositories for use with Grafana.
