Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
06/23/2023, 2:24 PM
This message was deleted.
a
acceptable-intern-25844
06/23/2023, 2:32 PM
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
refined-pilot-45584
06/23/2023, 2:33 PM
Thats a pretty slick lead .. Thanks!
m
miniature-musician-31262
06/23/2023, 3:52 PM
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/
miniature-musician-31262
06/23/2023, 3:54 PM
(I think I’ve used this for things like running front-end build steps as part of a deployment.)
Open in Slack
Previous
Next