https://pulumi.com logo
#python
Title
# python
c

colossal-room-15708

07/10/2019, 2:49 AM
How do I get the output of this
org
object here?
Copy code
org = organizations.Organization("org", 
  feature_set="ALL"
)

roots=org.roots.apply(
    lambda roots: roots[0].id
  )

print(roots)
pulumi up
gives me:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (aws-scaffolding-dev):
    <pulumi.output.Output object at 0x7f599c0624e0>