Data Action 422 on JSON Schema Validation

Quick question about the genesyscloud_data_action resource in Terraform. The deploy fails with a 422 Unprocessable Entity, citing a JSON schema mismatch on the input payload, even though the schema is valid in Architect UI.

Environment:

  • Terraform v1.6.5
  • Provider v1.45.0
  • Region: ap-southeast-2

The error log shows:

Error: POST /api/v2/data/actions: 422 Unprocessable Entity
Message: Input payload does not match schema.

Is the provider stripping nested objects during the API call?