diff --git a/README.md b/README.md
index 78991f4..bcd315d 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.96 |
+| [aws](#requirement\_aws) | >= 6.5 |
| [time](#requirement\_time) | >= 0.9 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 5.96 |
+| [aws](#provider\_aws) | >= 6.5 |
| [time](#provider\_time) | >= 0.9 |
## Modules
diff --git a/examples/complete/README.md b/examples/complete/README.md
index 7b708eb..f002b01 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.96 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 5.96 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf
index 6ba729c..57409ea 100644
--- a/examples/complete/versions.tf
+++ b/examples/complete/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 5.96"
+ version = ">= 6.5"
}
}
}
diff --git a/examples/serverless/README.md b/examples/serverless/README.md
index 73c4ea4..efceb64 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.96 |
+| [aws](#requirement\_aws) | >= 6.5 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 5.96 |
+| [aws](#provider\_aws) | >= 6.5 |
## Modules
diff --git a/examples/serverless/versions.tf b/examples/serverless/versions.tf
index 6ba729c..57409ea 100644
--- a/examples/serverless/versions.tf
+++ b/examples/serverless/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 5.96"
+ version = ">= 6.5"
}
}
}
diff --git a/main.tf b/main.tf
index ecd9b4e..c03777b 100644
--- a/main.tf
+++ b/main.tf
@@ -6,7 +6,7 @@ locals {
account_id = data.aws_caller_identity.current.account_id
dns_suffix = data.aws_partition.current.dns_suffix
partition = data.aws_partition.current.partition
- region = data.aws_region.current.name
+ region = data.aws_region.current.region
subnet_group_id = var.create && var.create_repl_subnet_group ? aws_dms_replication_subnet_group.this[0].id : var.repl_instance_subnet_group_id
}
@@ -266,6 +266,7 @@ resource "aws_dms_endpoint" "this" {
for_each = length(lookup(each.value, "postgres_settings", [])) > 0 ? [each.value.postgres_settings] : []
content {
after_connect_script = try(postgres_settings.value.after_connect_script, null)
+ authentication_method = try(postgres_settings.value.authentication_method, null)
babelfish_database_name = try(postgres_settings.value.babelfish_database_name, null)
capture_ddls = try(postgres_settings.value.capture_ddls, null)
database_mode = try(postgres_settings.value.database_mode, null)
@@ -280,6 +281,7 @@ resource "aws_dms_endpoint" "this" {
map_long_varchar_as = try(postgres_settings.value.map_long_varchar_as, null)
max_file_size = try(postgres_settings.value.max_file_size, null)
plugin_name = try(postgres_settings.value.plugin_name, null)
+ service_access_role_arn = try(postgres_settings.value.service_access_role_arn, null)
slot_name = try(postgres_settings.value.slot_name, null)
}
}
diff --git a/versions.tf b/versions.tf
index d81d7f2..ce7f2fd 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 5.96"
+ version = ">= 6.5"
}
time = {
source = "hashicorp/time"