sparse-intern-71089
03/28/2019, 10:24 PMwhite-balloon-205
export let myExport;
function doSomething() {
...
myExport = value;
...
}
doSomething();millions-judge-24978
03/28/2019, 10:28 PMmillions-judge-24978
03/28/2019, 10:48 PMpulumi.export in typescript.
I am having to return a value up through additional layers to export it at the true entrypoint file. These layers exist to make typescript module aliases work, and have no real semantic hierarchical meaning.millions-judge-24978
03/28/2019, 10:49 PMProvider though which I'm not sure is serializable/supportedwhite-balloon-205
Provider instance will serialize well. You likely need to export the data you use to construct it, and then construct the Provider instance itself inside other stacks that need it.millions-judge-24978
03/28/2019, 11:18 PMwhite-balloon-205
millions-judge-24978
03/28/2019, 11:30 PMkubeconfig string back out of a k8s.Provider that I am just missing?