https://concourse-ci.org/managing-resources.html#fly-pin-resource
To pin a resource to a specific version of that resource, run:
$ fly -t example pin-resource --resource my-pipeline/my-resource \ --version ref:bceaf
Note that the version needs to be provided as a key-value pair. For the git resource the ref: prefix is used while the registry resource might use digest as a prefix like digest:sha256:94be7d7b.
So if we're using s3 resource to watch a file, and the version is extracted from the filename, what is the key prefix for this version?