If I try to bind multiple threads at the same time (in one execution of apply) - I get the following error.
If you repeatedly execute apply, one binding is applied each time, and as a result, the plan will be executed.
Error: error sending PUT request to /auth/admin/realms/users: 400 Bad Request. Response body:
{"errorMessage":"javax.persistence.OptimisticLockException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: delete from REALM_ATTRIBUTE where NAME=? and REALM_ID=?"}
with keycloak_authentication_bindings.users_registration_flow_binding,
on main.tf line 344, in resource "keycloak_authentication_bindings" "users_registration_flow_binding":
344: resource "keycloak_authentication_bindings" "users_registration_flow_binding" {
If I try to bind multiple threads at the same time (in one execution of apply) - I get the following error. If you repeatedly execute apply, one binding is applied each time, and as a result, the plan will be executed.
Error: error sending PUT request to /auth/admin/realms/users: 400 Bad Request. Response body: