I’m working with some types generated by `crd2pulu...
# typescript
q
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;