mirror of https://github.com/pulumi/pulumi.git
9 lines
351 B
TypeScript
9 lines
351 B
TypeScript
import * as pulumi from "@pulumi/pulumi";
|
|
import * as synthetic from "@pulumi/synthetic";
|
|
|
|
const rt = new synthetic.resourceproperties.Root("rt", {});
|
|
export const trivial = rt;
|
|
export const simple = rt.res1;
|
|
export const foo = rt.res1.apply(res1 => res1.obj1?.res2?.obj2);
|
|
export const complex = rt.res1.apply(res1 => res1.obj1?.res2?.obj2?.answer);
|