Trying to import an existing user into my Terraform state using the genesyscloud provider. Running terraform import genesyscloud_user.my_user 12345678-1234-1234-1234-1234567890ab gives me a 404 error. The ID is definitely correct, I copied it straight from the /api/v2/users endpoint in Postman. The user exists, I can see it in the console.
The provider docs say the import ID should be the user ID, but it’s bombing out during the refresh phase. I’ve tried wrapping the ID in quotes, no luck. Is there a specific format the JS SDK or provider expects for this import command?
Code snippet:
terraform import genesyscloud_user.john_doe 8f3a2b1c-4d5e-6f7g-8h9i-0j1k2l3m4n5o
Error output:
Error: Error importing "genesyscloud_user.john_doe": 404 Not Found
Any ideas?