Is there a way to force a refresh on a dependent r...
# general
s
Is there a way to force a refresh on a dependent resource? The use case: I have a custom provider that manages instance state (stopped/running). After a stop -> run cycle, some attributes of that instance may have changed, such as public IP and storage blocks. Those changes don't get reflected on instance exports though. Is there a way to make the change on the custom resource to force a refresh on the instance state?
g
if it is a dynamic provider, you should be able to define which inputs cause replacement https://www.pulumi.com/docs/concepts/resources/dynamic-providers/
s
I am using a dynamic provider. But what I'm trying to do is to make a resource change in an
InstanceState
to call a refresh on the resource
Instance
. That's what I'm struggling to find in the documentation.