Is there a way to await the creation of resources?...
# general
b
Is there a way to await the creation of resources? I read through the Inputs and Outputs section, and I use interpolation in some fields. For a concrete example, I create a GCP project and then a bucket in that project. The bucket creation fails because the project is not created. At the same time, the documentation says I should not be allocating resources in callbacks, but it's precisely what I seem to need
b
@blue-leather-96987 you can set dependsOn as a resource option https://www.pulumi.com/docs/intro/concepts/resources/options/dependson/
b
thank you yet again!
❤️ 1