ancient-eve-13947
08/17/2021, 12:33 PMbrave-planet-10645
08/17/2021, 12:34 PMresource.apply(x => getCommit(x));
(assuming you're getting the sourcesDirectory as part of creating a resource)sourcesDirectory
from?ancient-eve-13947
08/17/2021, 12:40 PMcfg.require("Sources.Server")
pulumi stack output
brave-planet-10645
08/17/2021, 12:42 PMancient-eve-13947
08/17/2021, 12:43 PMbrave-planet-10645
08/17/2021, 12:46 PMancient-eve-13947
08/17/2021, 12:47 PMbrave-planet-10645
08/17/2021, 12:48 PMancient-eve-13947
08/17/2021, 12:48 PMbrave-planet-10645
08/17/2021, 12:52 PMconst directory = pulumi.output(config.get("sourcedirectory"));
export const gitsha = directory.apply(x => runfunction(x));
ancient-eve-13947
08/17/2021, 12:54 PMbrave-planet-10645
08/17/2021, 1:27 PM