This message was deleted.
# aws
s
This message was deleted.
b
f
@billowy-army-68599 Sorry, I'm not seeing the waiting mechanism. I guess I should also mention that I'm not using the default route tables of the transit gateway.
b
I didn’t use the accepter, I used the resource share and attached it manually to get around this issue
if you want to stick with your path, you’ll need to set a dependsOn the
VpcAttachmentAccepter
and likely build the routes inside an
apply
f
What do you mean "attached it manually"?
I suppose another wrinkle is that I'd like to keep the Pulumi projects scoped to a single AWS account if at all possible.
b
I see, haven’t tried that method
f
Back to the general problem, is there a way to have Pulumi "wait" for a condition to be true before proceeding? I'm not quite ready to convert all this to an Automation API program. Maybe something with a Command provider resource?
I can't seem to find anything along these lines in Terraform world either
b
Is there a way to have Pulumi “wait” for a condition to be true before proceeding?
it depends on the condition, you can do things inside an
apply
that poll something for example
f
🤔 Interesting... any examples of that lying around, by chance?
f
ah, nice; thanks very much!
Ah, this works fantastically