pulumi/tests/testdata/codegen/synthetic-resource-properti.../python/synthetic-resource-properti...

9 lines
261 B
Python

import pulumi
import pulumi_synthetic as synthetic
rt = synthetic.resource_properties.Root("rt")
pulumi.export("trivial", rt)
pulumi.export("simple", rt.res1)
pulumi.export("foo", rt.res1.obj1.res2.obj2)
pulumi.export("complex", rt.res1.obj1.res2.obj2.answer)