Hello, I have a resource A (EC2 instance) that ind...
# getting-started
Hello, I have a resource A (EC2 instance) that indirectly depends on a resource B (an S3 object). I have the following set on A: opts=pulumi.ResourceOptions( parent=self, depends_on=B) When I update B, I want Pulumi to replace A. Can I make this work in Pulumi? I do see the
option, but it looks like that only works for resource properties?
As I understand it, dependsOn will just ensure "resource creation, update, and deletion operations are done in the correct order." It won't cause a resource to be replaced if a dependency is updated.
https://github.com/pulumi/pulumi/issues/11577 <- Issue tracking a slightly more general feature that would enable this