Running into a wall with the Genesys Cloud Terraform provider. I am trying to create a new auth division but the apply fails every time with a 409 Conflict error. The documentation says the name must be unique, and I have verified via the REST API that no other division exists with this name. Here is the resource block I am using. The ID field is empty because I am creating it, so I don’t understand why the API thinks it already exists.
resource "genesyscloud_auth_division" "test_div" {
name = "Custom_Dev_Division"
description = "Test division"
}
Error message:
Error: 409 Conflict: A resource with the same name already exists.
I have tried adding a random suffix to the name but it still fails. Is there a hidden check or a caching issue on the platform side?