high-translator-22614
07/10/2019, 2:58 AMcolossal-room-15708
07/10/2019, 3:02 AMprint()
won't resolve it?high-translator-22614
07/10/2019, 3:08 AMcolossal-room-15708
07/10/2019, 3:17 AMpulumi.export("organization", org)
on above code snippet and to my surprise only got a string with the org ID it seems, nothing at all what I had expected looking at https://www.terraform.io/docs/providers/aws/r/organizations_organization.htmlroots
property (which should be a list) as it's empty for me, but I don't know why.client = boto3.client('organizations')
roots = client.list_roots()
sandpit = organizations.OrganizationalUnit("sandpit",
name="sandpit",
parent_id=roots['Roots'][0]['Id']
)
high-translator-22614
07/10/2019, 2:45 PMpulumi_aws.organization.Organization()
like you were doing was asking pulumi to create and manage an organization as part of your pulumi stack[]
and .
an Output
to get a new Output
that'll do the thing with the valuecolossal-room-15708
07/11/2019, 2:09 AMroots
still exists, which is how I was able to get it via boto3
client = boto3.client('organizations')
roots = client.list_roots()
It's just not propagating to the resource, for whatever reason.high-translator-22614
07/11/2019, 2:10 AMpulumi preview
, if the resource hasn't been created, data is missing