Manage S3 object versions #22828
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/s3
Issues and PRs that pertain to the s3 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
Is there interest in managing a specific version of an S3 object?
Currently,
s3_object
refers to the latest version of an object. However, it might be useful to manage versions other than the latest.This could be accomplished two ways:
s3_object_version
ors3_object
resource.How do we want this to work in practice? If you're managing a non-latest version, it implies that the object already exists so you'd be importing a resource into Terraform management or otherwise referring to an existent resource. You cannot specify a version ID when creating an object but you can when getting an object. For this reason, it seems like adding the ability to import a specific version using
s3_object
may be the best approach.Please share if you have other ideas.
New or Affected Resource(s)
References
s3_bucket_object
tos3_object
#22824The text was updated successfully, but these errors were encountered: