Open Breee opened 4 months ago
@Breee could this help me with https://github.com/crossplane-contrib/provider-upjet-digitalocean/issues/36 as well? I am trying to figure out what is the best strategy to deal with more than one type for a given resource field
Also Type
is deprecated so it would be TerraformName
I'm not sure, maybe maintainers @muvaf or @ulucinar can tell us if that is even possible
What problem are you facing?
Clients
OpenID Client
andSaml Client
and sadly no Generic Client available as resource.OpenId Client
orSaml Client
How could Upjet help solve your problem?
I'm looking for a way to have references to either a Generic Type or multiple Types OR just generate a resource multiple times with different Kinds + References
simplified example:
Or allow to do something like:
type GenericClient interface { OpenIDClient | SamlCLient }