Genesyscloud_flow HCL fails on Set Variable node with 400 Bad Request

I’m curious as to why the Terraform provider rejects my HCL for a simple Set Variable node?

Provider: 1.15.0
Region: apac-1

The flow applies fine until the variable assignment. API returns 400. The variable type is string, value is static. No special characters. Checked the JSON output, looks valid.

resource "genesyscloud_flow" "test" {
 # ... config ...
}

Appreciate the help.

Yep, this is a known issue with the provider when handling static strings in variable assignments. Try wrapping the value in jsonencode() to ensure the HCL parser treats it as a proper JSON string rather than a raw text block.