diff --git a/README.md b/README.md
index 79661b9..42c6bc5 100644
--- a/README.md
+++ b/README.md
@@ -152,13 +152,13 @@ Users of Terragrunt can achieve similar results by using modules provided in the
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
@@ -177,6 +177,7 @@ No modules.
| [aws_s3_bucket_inventory.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_inventory) | resource |
| [aws_s3_bucket_lifecycle_configuration.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration) | resource |
| [aws_s3_bucket_logging.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_logging) | resource |
+| [aws_s3_bucket_metadata_configuration.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_metadata_configuration) | resource |
| [aws_s3_bucket_metric.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_metric) | resource |
| [aws_s3_bucket_object_lock_configuration.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_object_lock_configuration) | resource |
| [aws_s3_bucket_ownership_controls.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_ownership_controls) | resource |
@@ -243,6 +244,7 @@ No modules.
| [control\_object\_ownership](#input\_control\_object\_ownership) | Whether to manage S3 Bucket Ownership Controls on this bucket. | `bool` | `false` | no |
| [cors\_rule](#input\_cors\_rule) | List of maps containing rules for Cross-Origin Resource Sharing. | `any` | `[]` | no |
| [create\_bucket](#input\_create\_bucket) | Controls if S3 bucket should be created | `bool` | `true` | no |
+| [create\_metadata\_configuration](#input\_create\_metadata\_configuration) | Whether to create metadata configuration resource | `bool` | `false` | no |
| [data\_redundancy](#input\_data\_redundancy) | Data redundancy. Valid values: `SingleAvailabilityZone` | `string` | `null` | no |
| [expected\_bucket\_owner](#input\_expected\_bucket\_owner) | The account ID of the expected bucket owner | `string` | `null` | no |
| [force\_destroy](#input\_force\_destroy) | (Optional, Default:false ) A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. | `bool` | `false` | no |
@@ -258,6 +260,10 @@ No modules.
| [lifecycle\_rule](#input\_lifecycle\_rule) | List of maps containing configuration of object lifecycle management. | `any` | `[]` | no |
| [location\_type](#input\_location\_type) | Location type. Valid values: `AvailabilityZone` or `LocalZone` | `string` | `null` | no |
| [logging](#input\_logging) | Map containing access bucket logging configuration. | `any` | `{}` | no |
+| [metadata\_encryption\_configuration](#input\_metadata\_encryption\_configuration) | Encryption configuration block | `any` | `null` | no |
+| [metadata\_inventory\_table\_configuration\_state](#input\_metadata\_inventory\_table\_configuration\_state) | Configuration state of the inventory table, indicating whether the inventory table is enabled or disabled. Valid values: ENABLED, DISABLED | `string` | `null` | no |
+| [metadata\_journal\_table\_record\_expiration](#input\_metadata\_journal\_table\_record\_expiration) | Whether journal table record expiration is enabled or disabled. Valid values: ENABLED, DISABLED | `string` | `null` | no |
+| [metadata\_journal\_table\_record\_expiration\_days](#input\_metadata\_journal\_table\_record\_expiration\_days) | Number of days to retain journal table records | `number` | `null` | no |
| [metric\_configuration](#input\_metric\_configuration) | Map containing bucket metric configuration. | `any` | `[]` | no |
| [object\_lock\_configuration](#input\_object\_lock\_configuration) | Map containing S3 object locking configuration. | `any` | `{}` | no |
| [object\_lock\_enabled](#input\_object\_lock\_enabled) | Whether S3 bucket should have an Object Lock configuration enabled. | `bool` | `false` | no |
diff --git a/examples/account-public-access/README.md b/examples/account-public-access/README.md
index 3500558..c0a85ac 100644
--- a/examples/account-public-access/README.md
+++ b/examples/account-public-access/README.md
@@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
diff --git a/examples/account-public-access/versions.tf b/examples/account-public-access/versions.tf
index 22e6a57..3874f5a 100644
--- a/examples/account-public-access/versions.tf
+++ b/examples/account-public-access/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/complete/README.md b/examples/complete/README.md
index 4666889..7674bf7 100644
--- a/examples/complete/README.md
+++ b/examples/complete/README.md
@@ -30,14 +30,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/complete/main.tf b/examples/complete/main.tf
index c658878..b033b99 100644
--- a/examples/complete/main.tf
+++ b/examples/complete/main.tf
@@ -375,4 +375,17 @@ module "s3_bucket" {
name = "all"
}
]
+
+ # metadata configuration example
+ # https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html
+ # https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-configuring.html
+ # only available in supported regions: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-restrictions.html
+
+ # create_metadata_configuration = true
+ # metadata_inventory_table_configuration_state = "ENABLED"
+ # metadata_journal_table_record_expiration = "ENABLED"
+ # metadata_journal_table_record_expiration_days = 7
+ # metadata_encryption_configuration = {
+ # sse_algorithm = "AES256"
+ # }
}
diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/complete/versions.tf
+++ b/examples/complete/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/directory-bucket/README.md b/examples/directory-bucket/README.md
index 1861562..a5352df 100644
--- a/examples/directory-bucket/README.md
+++ b/examples/directory-bucket/README.md
@@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/directory-bucket/versions.tf b/examples/directory-bucket/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/directory-bucket/versions.tf
+++ b/examples/directory-bucket/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/notification/README.md b/examples/notification/README.md
index 92e326c..10d42ad 100644
--- a/examples/notification/README.md
+++ b/examples/notification/README.md
@@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [null](#requirement\_null) | >= 2.0 |
| [random](#requirement\_random) | >= 2.0 |
@@ -28,7 +28,7 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [null](#provider\_null) | >= 2.0 |
| [random](#provider\_random) | >= 2.0 |
diff --git a/examples/notification/versions.tf b/examples/notification/versions.tf
index 046fec1..7783726 100644
--- a/examples/notification/versions.tf
+++ b/examples/notification/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/object/README.md b/examples/object/README.md
index 7125cb7..60216d6 100644
--- a/examples/object/README.md
+++ b/examples/object/README.md
@@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/object/versions.tf b/examples/object/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/object/versions.tf
+++ b/examples/object/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/s3-analytics/README.md b/examples/s3-analytics/README.md
index 36467b8..397c5a1 100644
--- a/examples/s3-analytics/README.md
+++ b/examples/s3-analytics/README.md
@@ -10,14 +10,14 @@ Please check [complete example](https://github.com/terraform-aws-modules/terrafo
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/s3-analytics/versions.tf b/examples/s3-analytics/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/s3-analytics/versions.tf
+++ b/examples/s3-analytics/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/s3-inventory/README.md b/examples/s3-inventory/README.md
index 48d7f0e..485990c 100644
--- a/examples/s3-inventory/README.md
+++ b/examples/s3-inventory/README.md
@@ -10,14 +10,14 @@ Please check [complete example](https://github.com/terraform-aws-modules/terrafo
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/s3-inventory/versions.tf b/examples/s3-inventory/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/s3-inventory/versions.tf
+++ b/examples/s3-inventory/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/s3-replication/README.md b/examples/s3-replication/README.md
index 91f418e..466f7cb 100644
--- a/examples/s3-replication/README.md
+++ b/examples/s3-replication/README.md
@@ -22,15 +22,15 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
-| [aws.replica](#provider\_aws.replica) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
+| [aws.replica](#provider\_aws.replica) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/s3-replication/versions.tf b/examples/s3-replication/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/s3-replication/versions.tf
+++ b/examples/s3-replication/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/examples/table-bucket/README.md b/examples/table-bucket/README.md
index e46bb2c..3558cfa 100644
--- a/examples/table-bucket/README.md
+++ b/examples/table-bucket/README.md
@@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/table-bucket/versions.tf b/examples/table-bucket/versions.tf
index 75a8f40..9d728d2 100644
--- a/examples/table-bucket/versions.tf
+++ b/examples/table-bucket/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
random = {
source = "hashicorp/random"
diff --git a/main.tf b/main.tf
index 1acb9c5..c254101 100644
--- a/main.tf
+++ b/main.tf
@@ -1357,3 +1357,31 @@ resource "aws_s3_bucket_analytics_configuration" "this" {
}
}
}
+
+resource "aws_s3_bucket_metadata_configuration" "this" {
+ count = local.create_bucket && var.create_metadata_configuration ? 1 : 0
+
+ bucket = aws_s3_bucket.this[0].bucket
+ region = var.region
+
+ metadata_configuration {
+ inventory_table_configuration {
+ configuration_state = var.metadata_inventory_table_configuration_state
+
+ dynamic "encryption_configuration" {
+ for_each = var.metadata_encryption_configuration != null ? [var.metadata_encryption_configuration] : []
+ content {
+ kms_key_arn = try(encryption_configuration.value.kms_key_arn, null)
+ sse_algorithm = encryption_configuration.value.sse_algorithm
+ }
+ }
+ }
+
+ journal_table_configuration {
+ record_expiration {
+ days = var.metadata_journal_table_record_expiration_days
+ expiration = var.metadata_journal_table_record_expiration
+ }
+ }
+ }
+}
diff --git a/modules/account-public-access/README.md b/modules/account-public-access/README.md
index e396073..9060dc8 100644
--- a/modules/account-public-access/README.md
+++ b/modules/account-public-access/README.md
@@ -12,13 +12,13 @@ Each AWS account may only have one S3 Public Access Block configuration.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/modules/account-public-access/versions.tf b/modules/account-public-access/versions.tf
index 0d66b2d..1548bda 100644
--- a/modules/account-public-access/versions.tf
+++ b/modules/account-public-access/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/modules/notification/README.md b/modules/notification/README.md
index 868c750..364305b 100644
--- a/modules/notification/README.md
+++ b/modules/notification/README.md
@@ -8,13 +8,13 @@ Creates S3 bucket notification resource with all supported types of deliveries:
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/modules/notification/versions.tf b/modules/notification/versions.tf
index 0d66b2d..1548bda 100644
--- a/modules/notification/versions.tf
+++ b/modules/notification/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/modules/object/README.md b/modules/object/README.md
index 667cd88..a0f60f9 100644
--- a/modules/object/README.md
+++ b/modules/object/README.md
@@ -8,13 +8,13 @@ Creates S3 bucket objects with different configurations.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/modules/object/versions.tf b/modules/object/versions.tf
index 0d66b2d..1548bda 100644
--- a/modules/object/versions.tf
+++ b/modules/object/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/modules/table-bucket/README.md b/modules/table-bucket/README.md
index aaf6bbd..7072983 100644
--- a/modules/table-bucket/README.md
+++ b/modules/table-bucket/README.md
@@ -8,13 +8,13 @@ Creates S3 Table Bucket and Tables with various configurations.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5.7 |
-| [aws](#requirement\_aws) | >= 6.2 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.2 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/modules/table-bucket/versions.tf b/modules/table-bucket/versions.tf
index 0d66b2d..1548bda 100644
--- a/modules/table-bucket/versions.tf
+++ b/modules/table-bucket/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/variables.tf b/variables.tf
index 9a97214..e06d7a8 100644
--- a/variables.tf
+++ b/variables.tf
@@ -383,6 +383,36 @@ variable "location_type" {
default = null
}
+variable "create_metadata_configuration" {
+ description = "Whether to create metadata configuration resource"
+ type = bool
+ default = false
+}
+
+variable "metadata_inventory_table_configuration_state" {
+ description = "Configuration state of the inventory table, indicating whether the inventory table is enabled or disabled. Valid values: ENABLED, DISABLED"
+ type = string
+ default = null
+}
+
+variable "metadata_encryption_configuration" {
+ description = "Encryption configuration block"
+ type = any
+ default = null
+}
+
+variable "metadata_journal_table_record_expiration_days" {
+ description = "Number of days to retain journal table records"
+ type = number
+ default = null
+}
+
+variable "metadata_journal_table_record_expiration" {
+ description = "Whether journal table record expiration is enabled or disabled. Valid values: ENABLED, DISABLED"
+ type = string
+ default = null
+}
+
variable "putin_khuylo" {
description = "Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo!"
type = bool
diff --git a/versions.tf b/versions.tf
index 0d66b2d..1548bda 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/wrappers/account-public-access/versions.tf b/wrappers/account-public-access/versions.tf
index 0d66b2d..1548bda 100644
--- a/wrappers/account-public-access/versions.tf
+++ b/wrappers/account-public-access/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/wrappers/main.tf b/wrappers/main.tf
index def69e2..9112f18 100644
--- a/wrappers/main.tf
+++ b/wrappers/main.tf
@@ -36,6 +36,7 @@ module "wrapper" {
control_object_ownership = try(each.value.control_object_ownership, var.defaults.control_object_ownership, false)
cors_rule = try(each.value.cors_rule, var.defaults.cors_rule, [])
create_bucket = try(each.value.create_bucket, var.defaults.create_bucket, true)
+ create_metadata_configuration = try(each.value.create_metadata_configuration, var.defaults.create_metadata_configuration, false)
data_redundancy = try(each.value.data_redundancy, var.defaults.data_redundancy, null)
expected_bucket_owner = try(each.value.expected_bucket_owner, var.defaults.expected_bucket_owner, null)
force_destroy = try(each.value.force_destroy, var.defaults.force_destroy, false)
@@ -51,6 +52,10 @@ module "wrapper" {
lifecycle_rule = try(each.value.lifecycle_rule, var.defaults.lifecycle_rule, [])
location_type = try(each.value.location_type, var.defaults.location_type, null)
logging = try(each.value.logging, var.defaults.logging, {})
+ metadata_encryption_configuration = try(each.value.metadata_encryption_configuration, var.defaults.metadata_encryption_configuration, null)
+ metadata_inventory_table_configuration_state = try(each.value.metadata_inventory_table_configuration_state, var.defaults.metadata_inventory_table_configuration_state, null)
+ metadata_journal_table_record_expiration = try(each.value.metadata_journal_table_record_expiration, var.defaults.metadata_journal_table_record_expiration, null)
+ metadata_journal_table_record_expiration_days = try(each.value.metadata_journal_table_record_expiration_days, var.defaults.metadata_journal_table_record_expiration_days, null)
metric_configuration = try(each.value.metric_configuration, var.defaults.metric_configuration, [])
object_lock_configuration = try(each.value.object_lock_configuration, var.defaults.object_lock_configuration, {})
object_lock_enabled = try(each.value.object_lock_enabled, var.defaults.object_lock_enabled, false)
diff --git a/wrappers/notification/versions.tf b/wrappers/notification/versions.tf
index 0d66b2d..1548bda 100644
--- a/wrappers/notification/versions.tf
+++ b/wrappers/notification/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/wrappers/object/versions.tf b/wrappers/object/versions.tf
index 0d66b2d..1548bda 100644
--- a/wrappers/object/versions.tf
+++ b/wrappers/object/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/wrappers/table-bucket/versions.tf b/wrappers/table-bucket/versions.tf
index 0d66b2d..1548bda 100644
--- a/wrappers/table-bucket/versions.tf
+++ b/wrappers/table-bucket/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}
diff --git a/wrappers/versions.tf b/wrappers/versions.tf
index 0d66b2d..1548bda 100644
--- a/wrappers/versions.tf
+++ b/wrappers/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.2"
+ version = ">= 6.5"
}
}
}