https://pulumi.com logo
f

future-kite-91191

04/16/2020, 7:45 AM
What is the preferred method for waiting for a specific Resource status member to reach a certain state, before reporting that the Resource itself is provisioned completely?
a

acoustic-leather-88378

04/16/2020, 8:18 AM
Is this in context of a Kubernetes resource?
f

future-kite-91191

04/16/2020, 8:24 AM
No specific context, looking for a generic custom means of resolving Resource create/update status based on -for example- a Resource Status property.
Some Resource types now return success, which is true as in the Resource is successfully created. But after that a Resource sometimes needs to do extra activation tasks (handled by a Cloud provider internally). If there is a way to poll a status flag using a Resource Output value untill it reaches a required state, before returning the overall Success state, that's what I'm looking for.
a

acoustic-leather-88378

04/16/2020, 11:19 AM
You might want to check out Dynamic Providers: https://www.pulumi.com/blog/dynamic-providers/