bitter-dentist-28132
08/26/2019, 3:31 PMasync
block? i tried doing
export let output;
async function doAsyncStuff(() => {
...
output = `${someResource.ingressHost}`;
});
doAsyncStuff().then(() => console.log(output));
the console.log prints `output`'s value in the diagnostics, but for whatever reason i don't get an actual stack output.tall-librarian-49374
08/26/2019, 3:33 PMdoAsyncStuff
and assign it to output
.
export let output = doAsyncStuff();
async function doAsyncStuff(() => {
...
return`${someResource.ingressHost}`;
});
output
before it's ready.bitter-dentist-28132
08/27/2019, 8:36 PMtall-librarian-49374
08/27/2019, 9:12 PMpulumi.output
if you need to use it for inputs to other resources.