During testing I discovered that when creating the UserProfile resource from scratch in an incorrect way (e.g. removing the attribute "username" or "email"), it is shown as synced and ready in K8s, but not actually reflected in Keycloak. This is resolved by adding the missing attribute. Then it is correctly reflected in Keycloak (and K8s). If one then applies the resource in the initial invalid state again, it is correctly shown as non-synced in K8s.
Probably an issue with the terraform provider.
Description of your changes
Add support for keycloak_realm_events and keycloak_realm_user_profile
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tested it on my local k3d instance with default keycloak (https://github.com/codecentric/helm-charts/tree/master/charts/keycloakx).
Known issue
During testing I discovered that when creating the UserProfile resource from scratch in an incorrect way (e.g. removing the attribute "username" or "email"), it is shown as synced and ready in K8s, but not actually reflected in Keycloak. This is resolved by adding the missing attribute. Then it is correctly reflected in Keycloak (and K8s). If one then applies the resource in the initial invalid state again, it is correctly shown as non-synced in K8s. Probably an issue with the terraform provider.