Hey team, I've been using API Gateway to serve sta...
# general
a
Hey team, I've been using API Gateway to serve static files, essentially doing what is specified in the docs here. The only trouble I am having is getting the content of the s3 bucket to deterministically change based on changes to file contents on my local file system. Ideallly, I would like to keep the
localPath
and
path
static, but ensure that the resource is updated each time the file contents change. Reading this document, it suggests this would be the default behavior. Am I misunderstanding something?
Going to try using a dynamic provider to hash the contents of the file and update if they diff