Quick question about genesyscloud_data_action. Pushing HCL returns 400 Bad Request with Invalid data action payload. JSON matches OpenAPI spec.
Context:
- Terraform
v1.9.8 - Provider
v1.65.0 - Region:
ap-southeast-2
HCL snippet:
resource "genesyscloud_data_action" "my_http_action" {
name = "Test HTTP Action"
description = "Testing HTTP endpoint"
type = "http"
input_schema = file("input_schema.json")
output_schema = file("output_schema.json")
http_config {
url = "https://example.com/api/v1/test"
method = "POST"
headers = {
"Content-Type" = "application/json"
}
}
}
Error log:
Error: 400 Bad Request - Invalid data action payload
on main.tf line 1, in resource "genesyscloud_data_action" "my_http_action":
1: resource "genesyscloud_data_action" "my_http_action" {
CLI genesys cloud data action create with same JSON works fine. Provider rejects it. Any known issue with http type in provider v1.65.0? Need to automate this via GitHub Actions.