diff --git a/README.md b/README.md index be92893..4e47eae 100644 --- a/README.md +++ b/README.md @@ -304,14 +304,14 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.32 | +| [aws](#requirement\_aws) | >= 5.83 | | [time](#requirement\_time) | >= 0.9 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.32 | +| [aws](#provider\_aws) | >= 5.83 | | [time](#provider\_time) | >= 0.9 | ## Modules diff --git a/examples/complete/README.md b/examples/complete/README.md index 936e446..dce4884 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -28,13 +28,13 @@ Note that this example may create resources which will incur monetary charges on | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.31 | +| [aws](#requirement\_aws) | >= 5.83 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.31 | +| [aws](#provider\_aws) | >= 5.83 | ## Modules diff --git a/examples/complete/main.tf b/examples/complete/main.tf index bc45279..7cef529 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -148,6 +148,7 @@ module "dms_aurora_postgresql_aurora_mysql" { include_control_details = true include_null_and_empty = true message_format = "json" + sasl_mechanism = "scram-sha-512" sasl_password = local.sasl_scram_credentials["password"] sasl_username = local.sasl_scram_credentials["username"] security_protocol = "sasl-ssl" diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 1b260a1..e0d6884 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.31" + version = ">= 5.83" } } } diff --git a/examples/serverless/README.md b/examples/serverless/README.md index be3cf07..c1eaf82 100644 --- a/examples/serverless/README.md +++ b/examples/serverless/README.md @@ -26,13 +26,13 @@ Note that this example may create resources which will incur monetary charges on | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.32 | +| [aws](#requirement\_aws) | >= 5.83 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.32 | +| [aws](#provider\_aws) | >= 5.83 | ## Modules diff --git a/examples/serverless/versions.tf b/examples/serverless/versions.tf index 1384338..e0d6884 100644 --- a/examples/serverless/versions.tf +++ b/examples/serverless/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.32" + version = ">= 5.83" } } } diff --git a/main.tf b/main.tf index 08fb3f4..fd599ed 100644 --- a/main.tf +++ b/main.tf @@ -211,6 +211,7 @@ resource "aws_dms_endpoint" "this" { message_max_bytes = try(kafka_settings.value.message_max_bytes, null) no_hex_prefix = try(kafka_settings.value.no_hex_prefix, null) partition_include_schema_table = try(kafka_settings.value.partition_include_schema_table, null) + sasl_mechanism = try(kafka_settings.value.sasl_mechanism, null) sasl_password = lookup(kafka_settings.value, "sasl_password", null) sasl_username = lookup(kafka_settings.value, "sasl_username", null) security_protocol = try(kafka_settings.value.security_protocol, null) @@ -392,7 +393,8 @@ resource "aws_dms_replication_task" "this" { replication_instance_arn = aws_dms_replication_instance.this[0].replication_instance_arn replication_task_id = each.value.replication_task_id replication_task_settings = try(each.value.replication_task_settings, null) - source_endpoint_arn = try(each.value.source_endpoint_arn, aws_dms_endpoint.this[each.value.source_endpoint_key].endpoint_arn, aws_dms_s3_endpoint.this[each.value.source_endpoint_key].endpoint_arn) + resource_identifier = try(each.value.resource_identifier, null) + source_endpoint_arn = try(aws_dms_endpoint.this[each.value.source_endpoint_key].endpoint_arn, aws_dms_s3_endpoint.this[each.value.source_endpoint_key].endpoint_arn) start_replication_task = try(each.value.start_replication_task, null) table_mappings = try(each.value.table_mappings, null) target_endpoint_arn = try(each.value.target_endpoint_arn, aws_dms_endpoint.this[each.value.target_endpoint_key].endpoint_arn, aws_dms_s3_endpoint.this[each.value.target_endpoint_key].endpoint_arn) diff --git a/versions.tf b/versions.tf index 446b9fb..eae683e 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.32" + version = ">= 5.83" } time = { source = "hashicorp/time"