This message was deleted.
# general
s
This message was deleted.
a
hey, you can simulate the context change with https://github.com/pulumi/pulumi-random and https://www.pulumi.com/docs/concepts/options/dependson/. The idea is to have a resource that will trigger an update every time and make your command depend on such a resource. I’ve seen an example of this somewhere, but couldn’t find it, so try to research that way
r
Thats a pretty slick lead .. Thanks!
m
Have you looked at command.local.Run? I believe this is exactly what it’s meant for: https://www.pulumi.com/registry/packages/command/api-docs/local/run/
(I think I’ve used this for things like running front-end build steps as part of a deployment.)