https://pulumi.com logo
#general
Title
# general
b

big-piano-35669

09/02/2018, 3:41 PM
Btw, I believe this will work for your example
Copy code
module.exports.x = (async () => {
  return { x: 5 };
})().then(o => o.x);
Not ideal, but it should do the trick.