https://pulumi.com logo
q

quiet-wolf-18467

01/15/2021, 2:34 PM
I’m working with some types generated by
crd2pulumi
and noticing that the
apiVersion
is defined as such:
readonly apiVersion: pulumi.Output<"<http://cluster.x-k8s.io/v1alpha3|cluster.x-k8s.io/v1alpha3>" | undefined>;
I’m struggling to use this with other resources, however it does work if I change the generated line to
readonly apiVersion: pulumi.Output<"<http://cluster.x-k8s.io/v1alpha3|cluster.x-k8s.io/v1alpha3>"> | undefined;