magnificent-smartphone-40853
06/16/2023, 9:08 PMconst main = async (): Promise<void> => {
const coreVpc = vpc.createVpc(...);
}
main();
should I just return the coreVpc var within the async function? does pulumi resolve the output in this case?
const main = async (): Promise<{ coreVpc: Vpc }> => {
const coreVpc = vpc.createVpc(...);
return { coreVpc };
}
main();