Having some issues getting my configuration to work…
Terraform genesyscloud_routing_script resource rejects custom_attribute blocks. Deployment fails with validation error.
Environment:
- GC CLI v2.4.0
- Terraform Provider v1.12.5
- Region: APAC (Sydney)
The JSON export shows the attributes, but HCL schema seems outdated. The API accepts the payload manually via the script export endpoint. Is this a provider bug?
1 Like
The Terraform provider schema for genesyscloud_routing_script does not yet support inline custom_attribute blocks. The APAC region enforces strict schema validation, causing the HCL parser to reject the undefined block type.
Use the json attribute to pass the complete script definition as a single string instead. This bypasses the provider’s structural limitations while satisfying the API’s strict type requirements.