sparse-intern-71089
10/10/2018, 7:02 PMbitter-oil-46081
10/10/2018, 11:17 PMconst a = new azure.storage.Account("my-account");
const c = new azure.storage.Container("my-container", {storageAccountName: a.name});
In this case, since you are taking a property of a resource (what we call an Output Property, and is typed as Output<string> in ts) and passing it as an "input" to another resource, Pulumi should detect the dependency there and wait until the account has been created before trying to create the container. If it doesn't that's a bug somewhere on our end, most likely. If you aren't passing the name property explicitly, then we can't auto-detect the dependency information. Every resource takes an opts parameter, and that parameter has a property called dependsOn which is a set of URNs that you depend on, if you need to add an explicit dependency.brave-angle-33257
10/10/2018, 11:29 PMbrave-angle-33257
10/10/2018, 11:30 PMid
of that as an output, it delivered an Object, I figured it would be the full id to the resource. Using typescript. Is there a trick to get the full id, i.e. need to run it through a callback?bitter-oil-46081
10/11/2018, 12:54 AMbrave-angle-33257
10/11/2018, 1:20 AM