Skip to content

Commit 4ff8e80

Browse files
tombatchelorTom Batchelor
andauthored
fix: Fix missing S3 Bucket retention filter (#61)
Co-authored-by: Tom Batchelor <[email protected]>
1 parent 04921b0 commit 4ff8e80

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

examples/eks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Note that this will create AWS resources - once you are done, run `terraform des
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.9 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.0 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.0 |
2626
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 2.0.1 |
2727
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.1.0 |
2828

2929
## Providers
3030

3131
| Name | Version |
3232
|------|---------|
33-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.0 |
33+
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 5.0 |
3434
| <a name="provider_random"></a> [random](#provider\_random) | 3.1.0 |
3535

3636
## Modules

examples/eks/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.0"
7+
version = "~> 5.0"
88
}
99

1010
random = {

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "retention" {
4848
rule {
4949
id = "retention"
5050
status = "Enabled"
51+
filter {}
5152
expiration {
5253
days = local.s3_bucked_data_retention
5354
}

0 commit comments

Comments
 (0)