-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV when using keycloak_default_roles
#632
Comments
Is there any more details I could provide to help with resolving the issue? |
I had a similar issue after a drift - are your sure your Terraform state file is in sync? |
Hi @mknapik, sorry for the delay on this issue. I believe that this is happening because you're using a version of Keycloak that's older than v13, which is when support for default roles via a realm composite role was added. There's a check in this resource that is supposed to throw an error if you're running a version of Keycloak that isn't compatible, but it wasn't working properly, resulting in this nil pointer exception. Sorry about that! If you upgrade your Keycloak instance, this should work as expected. I opened #637 to fix the broken check. I'm going to close this, but feel free to re-open it if you're still having issues after upgrading. |
Thanks for investigating this! You're onto something, as indeed we're using v12. I'll report if it works with more recent versions of Keycloak. |
I can confirm that upgrading Keycloak to v15 solved the issue. @mrparkers Thanks! |
I had troubles setting up default roles for my realms.
terraform version
terraform code
terraform plan
terraform apply
The text was updated successfully, but these errors were encountered: