sparse-intern-71089
01/06/2022, 1:32 PMprehistoric-activity-61023
01/06/2022, 4:43 PMprehistoric-activity-61023
01/06/2022, 4:43 PMprehistoric-activity-61023
01/06/2022, 4:45 PMprehistoric-activity-61023
01/06/2022, 4:48 PMbillowy-army-68599
billowy-army-68599
freezing-umbrella-80278
01/06/2022, 4:56 PMprehistoric-activity-61023
01/06/2022, 4:57 PMfreezing-umbrella-80278
01/06/2022, 4:59 PMfreezing-umbrella-80278
01/06/2022, 5:00 PMdigitalocean.getDropletOutput
return a promise and therefore need to be awaited?prehistoric-activity-61023
01/06/2022, 5:02 PMfreezing-umbrella-80278
01/06/2022, 5:03 PMfreezing-umbrella-80278
01/06/2022, 5:03 PMfreezing-umbrella-80278
01/06/2022, 5:03 PMfreezing-umbrella-80278
01/06/2022, 5:04 PMfreezing-umbrella-80278
01/06/2022, 5:04 PMprehistoric-activity-61023
01/06/2022, 5:04 PMfreezing-umbrella-80278
01/06/2022, 5:05 PMprehistoric-activity-61023
01/06/2022, 5:05 PMprehistoric-activity-61023
01/06/2022, 5:06 PMfreezing-umbrella-80278
01/06/2022, 5:06 PMprehistoric-activity-61023
01/06/2022, 5:07 PMprehistoric-activity-61023
01/06/2022, 5:08 PMfreezing-umbrella-80278
01/06/2022, 5:08 PMbillowy-army-68599
doesn't digitalocean.getDropletOutput return a promise and therefore need to be awaited?Only if you're doing some string manipulation, if you're passing the result to another resource, Pulumi will figure it out for you
freezing-umbrella-80278
01/06/2022, 5:16 PMn
is actually a pending promise and you're attempting to access n.ipv4Address
when constructing the DnsRecord
.
So the graph is created and then Pulumi will ensure the previous dependency and it's outputs are available before resolving the DnsRecord
?billowy-army-68599
apply()
is like saying "wait for this thing to resolve"
getSomethingOutput
is similarbillowy-army-68599
freezing-umbrella-80278
01/06/2022, 5:19 PMbillowy-army-68599