I’m not sure this works today but I think the engine ought to consider a pulumi.FileArchive as an equatable value. I’d try just passing an archive value to triggers, it might just work, but if it doesn’t do raise an issue about it because it seems a very reasonable behaviour to expect. Pretty sure one of our engineers (@happy-parrot-60128) has looked at this or something very similar before.
l
lively-crayon-44649
09/26/2022, 2:42 PM
I'll give it a shot -- thanks!
s
stocky-restaurant-98004
09/26/2022, 7:05 PM
You might want to shell out to Make here because it's really good at tracking file dependencies, and then use the resultant file as an input to your Pulumi resource.