Support S3 lifecycle rules independently from buckets #17432
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
new-resource
Introduces a new resource.
service/s3
Issues and PRs that pertain to the s3 service.
Community Note
Description
A resource to define S3 bucket lifecycles rules in a stand-alone fashion, much like the security group rule resource. At present, lifecycle rules must be defined in the aws_s3_bucket resource, and because they're nested blocks it's difficult to create a reusable module.
The resource would almost certainly need the ID/ARN of an existing bucket as one of its inputs. This would also likely be incompatible with in-line lifecycle rules.
New or Affected Resource(s)
Potential Terraform Configuration
References
None that I could find in a quick search.
The text was updated successfully, but these errors were encountered: