https://pulumi.com logo
m

millions-judge-24978

07/04/2019, 2:09 AM
Is there any way to use these types explicitly in a typescript pulumi program? https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/nodejs/types/input.ts i.e.
const securityContext: core.v1.SecurityContext = { ... }
c

creamy-potato-29402

07/04/2019, 2:49 AM
import * as inputApi from "@pulumi/pulumi/types/input"
m

millions-judge-24978

07/04/2019, 4:58 PM
It seems like that's not exported unfortunately. module not found error
b

busy-umbrella-36067

07/04/2019, 6:09 PM
try
import * as kubeTypes from '@pulumi/kubernetes/types/input'
🙏 1
👋 1