My current config is completely failing…
Attempting to import an existing Architect flow into Terraform state using genesyscloud_architect_flow. The environment is AU-1, provider version genesyscloud v1.68.4. The flow exists in the UI with ID a1b2c3d4-....
HCL snippet:
resource "genesyscloud_architect_flow" "main_ivr" {
name = "Main IVR"
description = "Primary inbound flow"
# other config
}
Command:
terraform import genesyscloud_architect_flow.main_ivr a1b2c3d4-...
Error:
409 Conflict: The external ID provided is already in use by another resource.
The flow does not have a custom external ID set in the UI. It appears the provider is trying to set one during import or there is a mismatch in how the ID is resolved. The state file is empty for this resource.
Is this a known issue with v1.68.4? The documentation suggests the id attribute maps directly, but the API response indicates a conflict on a field I am not explicitly setting.
Any workarounds for importing flows without predefined external IDs? The manual import process is blocking our CI/CD pipeline for environment promotion. Need a stable way to manage this drift.