08/01/2023, 7:20 PM
This files like I'm reinventing the wheel somehow... How can I have a resource that's a string that I set (not a random string) so that resource changes, and therefore causes other resources to replace. The situation I have is. File on disk (config file) => Upload to Azure File via the Command package => Container App uses file storage. I need the Container App to produce a new revision if the config file changes. I can't use blob, it has to be file, and there is no package for pulumi. The best I've come up with so far. Generate File hash of config file => Triggers on Command. Then use the same file hash and pass it as an Env Variable to the container app.