-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
featureFeature request or proposalFeature request or proposal
Description
Is your feature request related to a problem?
S3 buckets can support versioned objects, which is useful to ensure that assets do not change unexpectedly.
At the moment, though, there is no way to download a specific version of an S3 object.
Proposed solution
A versionId parameter would be great:
builtins.fetchurl {
name = "example";
url = "s3://my-bucket?region=my-region&versionId=XXX";
};This would be stored in ParsedS3URL and then given to S3Helper::getObject, which would then use GetObjectRequest::WithVersionId() when building the request.
Alternative solutions
None exist (short of using some sort of custom proxy server to inject this as an S3 endpoint).
Additional context
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Metadata
Metadata
Assignees
Labels
featureFeature request or proposalFeature request or proposal