Import creates values not folders

When importing a file generated from the consul kv export command, values are created instead of folders. In the example below, a kv pair is created named configs with empty value. This instead of a folder named configs. I did an export, deleted the folder and then did an import.

eg.
[
{
“key”: “configs/”,
“flags”: 0,
“value”: “”
}
]

Hi @karl.grear,

This is a bug that was first reported in https://github.com/hashicorp/consul/issues/10906. I recently created PR https://github.com/hashicorp/consul/pull/11888 to fix this. I hope to have this fix merged and available in a near-term release.