Trying to understand why importing a specific Architect flow fails during state refresh. The flow contains a REST API action pointing to an internal service. Terraform provider v1.65.2 returns a 400 Bad Request. The error payload indicates a validation error on the uri field, claiming it is not a valid URL format. The URL is correct and works in the UI.
Error: Error refreshing state: 1 error occurred:
* genesyscloud_architect_flow.test_flow: 1 error occurred:
* genesyscloud_architect_flow.test_flow: Error importing "genesyscloud_architect_flow.test_flow": Invalid field 'uri'. Expected valid HTTPS URL.
Environment details:
Terraform v1.9.8
Genesys Cloud Provider v1.65.2
Region: Australia/Sydney
Category: Architect/IVR
The flow ID is valid. I can fetch the flow JSON via genesys cloud architect flows get --id <ID> without issues. The JSON shows the uri as https://internal-api.example.com/v1/data. This is a valid HTTPS URL. Why does the provider reject it during import? Is there a known bug with internal hostnames in v1.65.2?