diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1995474..74b0a6b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
- rev: v1.83.6
+ rev: v1.86.0
hooks:
- id: terraform_fmt
- id: terraform_validate
diff --git a/README.md b/README.md
index 93641d3..10c32c6 100644
--- a/README.md
+++ b/README.md
@@ -109,13 +109,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0 |
-| [aws](#requirement\_aws) | >= 4.35 |
+| [aws](#requirement\_aws) | >= 4.61 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.35 |
+| [aws](#provider\_aws) | >= 4.61 |
## Modules
@@ -140,7 +140,7 @@ No modules.
| [flow\_logs\_enabled](#input\_flow\_logs\_enabled) | Indicates whether flow logs are enabled. Defaults to `false` | `bool` | `false` | no |
| [flow\_logs\_s3\_bucket](#input\_flow\_logs\_s3\_bucket) | The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true` | `string` | `null` | no |
| [flow\_logs\_s3\_prefix](#input\_flow\_logs\_s3\_prefix) | The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true` | `string` | `null` | no |
-| [ip\_address\_type](#input\_ip\_address\_type) | The value for the address type. Defaults to `IPV4`. Valid values: `IPV4` | `string` | `"IPV4"` | no |
+| [ip\_address\_type](#input\_ip\_address\_type) | The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK` | `string` | `"IPV4"` | no |
| [ip\_addresses](#input\_ip\_addresses) | The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses | `list(string)` | `[]` | no |
| [listeners](#input\_listeners) | A map of listener defintions to create | `any` | `{}` | no |
| [listeners\_timeouts](#input\_listeners\_timeouts) | Create, update, and delete timeout configurations for the listeners | `map(string)` | `{}` | no |
@@ -152,6 +152,7 @@ No modules.
| Name | Description |
|------|-------------|
| [dns\_name](#output\_dns\_name) | The DNS name of the accelerator |
+| [dual\_stack\_dns\_name](#output\_dual\_stack\_dns\_name) | The DNS name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses |
| [endpoint\_groups](#output\_endpoint\_groups) | Map of endpoints created and their associated attributes |
| [hosted\_zone\_id](#output\_hosted\_zone\_id) | The Global Accelerator Route 53 zone ID that can be used to route an Alias Resource Record Set to the Global Accelerator |
| [id](#output\_id) | The Amazon Resource Name (ARN) of the accelerator |
diff --git a/examples/complete/README.md b/examples/complete/README.md
index 0c0c2af..08a0388 100644
--- a/examples/complete/README.md
+++ b/examples/complete/README.md
@@ -24,13 +24,13 @@ Note that this example may create resources which will incur monetary charges on
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0 |
-| [aws](#requirement\_aws) | >= 4.35 |
+| [aws](#requirement\_aws) | >= 4.61 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.35 |
+| [aws](#provider\_aws) | >= 4.61 |
## Modules
diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf
index 4d4bddd..dd1bc0b 100644
--- a/examples/complete/versions.tf
+++ b/examples/complete/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.35"
+ version = ">= 4.61"
}
}
}
diff --git a/outputs.tf b/outputs.tf
index c066573..39e2979 100644
--- a/outputs.tf
+++ b/outputs.tf
@@ -12,6 +12,11 @@ output "dns_name" {
value = try(aws_globalaccelerator_accelerator.this[0].dns_name, "")
}
+output "dual_stack_dns_name" {
+ description = "The DNS name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses"
+ value = try(aws_globalaccelerator_accelerator.this[0].dual_stack_dns_name, "")
+}
+
output "hosted_zone_id" {
description = "The Global Accelerator Route 53 zone ID that can be used to route an Alias Resource Record Set to the Global Accelerator"
value = try(aws_globalaccelerator_accelerator.this[0].hosted_zone_id, "")
diff --git a/variables.tf b/variables.tf
index 91fe044..29311e8 100644
--- a/variables.tf
+++ b/variables.tf
@@ -21,7 +21,7 @@ variable "name" {
}
variable "ip_address_type" {
- description = "The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`"
+ description = "The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`"
type = string
default = "IPV4"
}
diff --git a/versions.tf b/versions.tf
index 4d4bddd..dd1bc0b 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.35"
+ version = ">= 4.61"
}
}
}