https://pulumi.com logo
#general
Title
# general
b

blue-leather-96987

07/07/2022, 12:28 AM
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

billowy-army-68599

07/07/2022, 1:15 AM
@blue-leather-96987 you can set dependsOn as a resource option https://www.pulumi.com/docs/intro/concepts/resources/options/dependson/
b

blue-leather-96987

07/07/2022, 1:16 AM
thank you yet again!
❤️ 1
2 Views