https://pulumi.com logo
d

dazzling-sundown-39670

08/26/2023, 8:20 AM
using
docker.Container
, how can I trigger a rebuild if a file used with the
uploads
key is changed? I think I would want to hash the file and then capture the output of the sum somewhere, and have it like a rebuild trigger, but I'm not sure where
l

lemon-gigabyte-76458

08/26/2023, 2:29 PM
Looks like you could use the ContentBase64 arg in the upload section and read in the file then base64 it. I would assume Pulumi would pick up on the changes to the base64d string and remake the resource as needed