Skip to content

Commit

Permalink
r/s3_bucket: read-only lifecycle_rule (#22581)
Browse files Browse the repository at this point in the history
* r/s3_bucket: deprecate 'lifecycle_rule'

* Update CHANGELOG for #22581

* Update .changelog/22581.txt

* r/s3_bucket: flatten lifecycle rule filter into prefix and/or tags

* set lifecycle_rule with nil if dne for bucket

* add instructions for breaking change introduced in #22581

* replace error string with const
  • Loading branch information
anGie44 authored Feb 7, 2022
1 parent 7a496c4 commit 27018be
Show file tree
Hide file tree
Showing 8 changed files with 333 additions and 978 deletions.
3 changes: 3 additions & 0 deletions .changelog/22581.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
resource/aws_s3_bucket: The `lifecycle_rule` argument has been deprecated and is now read-only. Use the `aws_s3_bucket_lifecycle_configuration` resource instead.
```
Loading

0 comments on commit 27018be

Please sign in to comment.