Open jholt96 opened 5 months ago
Yes, this is a major issue with the terraform upstream: https://github.com/mrparkers/terraform-provider-keycloak/issues/813 - sadly i never got recognized.
I'm now starting to look for a solution that allows to reference a generic client (saml or oidc). TBH it might be even better to move away from the upstream terraform keycloak provider and write the provider ourselves completely
I hope that I can provide you a solution soon
fyi, waiting for an answer in https://github.com/crossplane/upjet/issues/414 before i fix that.
Summary
Any Client Id name reference is made to the OIDC Client crd instead. Currently the only way to use the samlclient is by creating the object, copying the id after it is created and using the clientId field.
I think the root issue is that its trying to resolve to mg.Spec.ForProvider.ClientID field instead of looking up the external-name annotation that get sets. e.g
Replicated Errors