Skip to content

Commit f6fda8c

Browse files
authored
feat: Support transition_default_minimum_object_size (#290)
1 parent 8a0b697 commit f6fda8c

File tree

19 files changed

+38
-27
lines changed

19 files changed

+38
-27
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ Users of Terragrunt can achieve similar results by using modules provided in the
126126
| Name | Version |
127127
|------|---------|
128128
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
129-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.27 |
129+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.70 |
130130

131131
## Providers
132132

133133
| Name | Version |
134134
|------|---------|
135-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.27 |
135+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.70 |
136136

137137
## Modules
138138

@@ -231,6 +231,7 @@ No modules.
231231
| <a name="input_restrict_public_buckets"></a> [restrict\_public\_buckets](#input\_restrict\_public\_buckets) | Whether Amazon S3 should restrict public bucket policies for this bucket. | `bool` | `true` | no |
232232
| <a name="input_server_side_encryption_configuration"></a> [server\_side\_encryption\_configuration](#input\_server\_side\_encryption\_configuration) | Map containing server-side encryption configuration. | `any` | `{}` | no |
233233
| <a name="input_tags"></a> [tags](#input\_tags) | (Optional) A mapping of tags to assign to the bucket. | `map(string)` | `{}` | no |
234+
| <a name="input_transition_default_minimum_object_size"></a> [transition\_default\_minimum\_object\_size](#input\_transition\_default\_minimum\_object\_size) | The default minimum object size behavior applied to the lifecycle configuration. Valid values: all\_storage\_classes\_128K (default), varies\_by\_storage\_class | `string` | `null` | no |
234235
| <a name="input_versioning"></a> [versioning](#input\_versioning) | Map containing versioning configuration. | `map(string)` | `{}` | no |
235236
| <a name="input_website"></a> [website](#input\_website) | Map containing static web-site hosting or redirect configuration. | `any` | `{}` | no |
236237

examples/complete/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Note that this example may create resources which cost money. Run `terraform des
3030
| Name | Version |
3131
|------|---------|
3232
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
33-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.27 |
33+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.70 |
3434
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |
3535

3636
## Providers
3737

3838
| Name | Version |
3939
|------|---------|
40-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.27 |
40+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.70 |
4141
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
4242

4343
## Modules

examples/complete/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ module "s3_bucket" {
159159
control_object_ownership = true
160160
object_ownership = "BucketOwnerPreferred"
161161

162-
expected_bucket_owner = data.aws_caller_identity.current.account_id
162+
expected_bucket_owner = data.aws_caller_identity.current.account_id
163+
transition_default_minimum_object_size = "varies_by_storage_class"
163164

164165
acl = "private" # "acl" conflicts with "grant" and "owner"
165166

examples/complete/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.27"
7+
version = ">= 5.70"
88
}
99
random = {
1010
source = "hashicorp/random"

examples/notification/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.27 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.70 |
2424
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 2.0 |
2525
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.27 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.70 |
3232
| <a name="provider_null"></a> [null](#provider\_null) | >= 2.0 |
3333
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
3434

examples/notification/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.27"
7+
version = ">= 5.70"
88
}
99
random = {
1010
source = "hashicorp/random"

examples/object/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.27 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.70 |
2424
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |
2525

2626
## Providers
2727

2828
| Name | Version |
2929
|------|---------|
30-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.27 |
30+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.70 |
3131
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
3232

3333
## Modules

examples/object/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.27"
7+
version = ">= 5.70"
88
}
99
random = {
1010
source = "hashicorp/random"

examples/s3-analytics/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Please check [complete example](https://github.com/terraform-aws-modules/terrafo
1010
| Name | Version |
1111
|------|---------|
1212
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
13-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.27 |
13+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.70 |
1414
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |
1515

1616
## Providers
1717

1818
| Name | Version |
1919
|------|---------|
20-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.27 |
20+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.70 |
2121
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
2222

2323
## Modules

examples/s3-analytics/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.27"
7+
version = ">= 5.70"
88
}
99
random = {
1010
source = "hashicorp/random"

0 commit comments

Comments
 (0)