sparse-intern-71089
04/07/2022, 2:23 PMgreat-queen-39697
04/07/2022, 3:43 PMdepends_on
flag: https://www.pulumi.com/docs/intro/concepts/resources/options/dependson/billowy-area-48390
04/07/2022, 3:50 PMdepends_on
works for resources but not invocationsgreat-queen-39697
04/07/2022, 4:11 PMbillowy-area-48390
04/07/2022, 4:32 PMgreat-queen-39697
04/07/2022, 6:35 PMbillowy-area-48390
04/08/2022, 2:16 PMgreat-queen-39697
04/08/2022, 3:18 PMfor x in range(0, 4):
try:
y = devManagementProject.project_id
devBucketServiceAccount = gcp.storage.get_project_service_account(y)
except:
pass
You'll want to give it a spot to fail so you don't get in a loop forever. You could add a sleep() in there, but be aware that it gets a bit wonky because of the async nature of the calls Pulumi makes.billowy-area-48390
04/08/2022, 3:22 PMgreat-queen-39697
04/08/2022, 3:25 PM