sparse-intern-71089
01/19/2020, 4:52 PMcolossal-ram-89482
01/20/2020, 3:22 AMcompute.Subnetwork(...)
with network
set to the string value of the vpc_name
variable, which is "lala"
. Instead you would set network
equal to the object that is returned from compute.Network(...)
. This should establish the desired relationship.colossal-ram-89482
01/20/2020, 3:25 AMcreate_vpc()
would return that Network
object, not the result of pulumi.export(...)
. I expect that pulumi.export()
returns None
.agreeable-angle-1483
01/20/2020, 2:49 PMagreeable-angle-1483
01/20/2020, 2:50 PMcolossal-ram-89482
01/20/2020, 6:13 PMpulumi.output.Output
which can be used as inputs to other resources. And then 2) stack outputs which are created by pulumi.export()
.colossal-ram-89482
01/20/2020, 6:17 PMwhite-balloon-205
agreeable-angle-1483
01/21/2020, 6:43 AMpulumi.output
and pulumi.input
? I.e 2 resources with a dependency
I didn't findcolossal-ram-89482
01/21/2020, 12:57 PMweb_bucket
is of type pulumi_aws.s3.Bucket
web_bucket.id
is of type pulumi.output.Output[str]
then in the for
loop:
obj
is of type pulumi_aws.s3.BucketObject
obj.bucket
is of type Input[str]
obj.bucket
is set to web_bucket.id
// assigning Input
to Output
Thus all of the `obj`s (bucket objects) are dependent on the creation of web_bucket
(the bucket itself)agreeable-angle-1483
01/22/2020, 8:52 AMcolossal-ram-89482
01/22/2020, 12:25 PM