Is there an easy way to use the interfaces from th...
# general
b
Is there an easy way to use the interfaces from the Pulumi TS Packages? We’re building internal API’s that abstract K8S Deployments and it would be great to have the interfaces used by Pulumi as inputs for some of our ComponentResources, for ex: https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/nodejs/types/input.ts#L12609-L12656
w
See https://github.com/pulumi/pulumi-kubernetes/issues/336, which is about fixing this, but also points to the workaround that is available currently:
Copy code
import * as inputApi from "@pulumi/kubernetes/types/input";
const port: inputApi.core.v1.ContainerPort = {...};
💯 1
🙏 1
👏 1