diff --git a/README.md b/README.md
index 03c2895..47c1206 100644
--- a/README.md
+++ b/README.md
@@ -180,13 +180,13 @@ module "acm" {
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10 |
-| [aws](#requirement\_aws) | >= 6.0 |
+| [aws](#requirement\_aws) | >= 6.4 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.0 |
+| [aws](#provider\_aws) | >= 6.4 |
## Modules
@@ -212,6 +212,7 @@ No modules.
| [distinct\_domain\_names](#input\_distinct\_domain\_names) | List of distinct domains and SANs (used when create\_route53\_records\_only is set to true) | `list(string)` | `[]` | no |
| [dns\_ttl](#input\_dns\_ttl) | The TTL of DNS recursive resolvers to cache information about this record. | `number` | `60` | no |
| [domain\_name](#input\_domain\_name) | A domain name for which the certificate should be issued | `string` | `""` | no |
+| [export](#input\_export) | Whether the certificate can be exported. Valid values are ENABLED or DISABLED (default). Note Issuing an exportable certificate is subject to additional charges | `string` | `null` | no |
| [key\_algorithm](#input\_key\_algorithm) | Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data | `string` | `null` | no |
| [private\_authority\_arn](#input\_private\_authority\_arn) | Private Certificate Authority ARN for issuing private certificates | `string` | `null` | no |
| [putin\_khuylo](#input\_putin\_khuylo) | Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo! | `bool` | `true` | no |
diff --git a/examples/complete-dns-validation-with-cloudflare/README.md b/examples/complete-dns-validation-with-cloudflare/README.md
index af8e3f1..ff637f0 100644
--- a/examples/complete-dns-validation-with-cloudflare/README.md
+++ b/examples/complete-dns-validation-with-cloudflare/README.md
@@ -24,7 +24,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.0 |
+| [aws](#requirement\_aws) | >= 6.4 |
| [cloudflare](#requirement\_cloudflare) | >= 3.4, <=3.32 |
## Providers
diff --git a/examples/complete-dns-validation-with-cloudflare/versions.tf b/examples/complete-dns-validation-with-cloudflare/versions.tf
index 3f6455b..96b2d0d 100644
--- a/examples/complete-dns-validation-with-cloudflare/versions.tf
+++ b/examples/complete-dns-validation-with-cloudflare/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
# Terraform v1.0.0 only functional with cloudflare versions less than or equal to 3.33.0
# https://github.com/cloudflare/terraform-provider-cloudflare/issues/2340
diff --git a/examples/complete-dns-validation/README.md b/examples/complete-dns-validation/README.md
index 5c33103..7957c58 100644
--- a/examples/complete-dns-validation/README.md
+++ b/examples/complete-dns-validation/README.md
@@ -24,13 +24,13 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10 |
-| [aws](#requirement\_aws) | >= 6.0 |
+| [aws](#requirement\_aws) | >= 6.4 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.0 |
+| [aws](#provider\_aws) | >= 6.4 |
## Modules
diff --git a/examples/complete-dns-validation/versions.tf b/examples/complete-dns-validation/versions.tf
index f648e20..745d725 100644
--- a/examples/complete-dns-validation/versions.tf
+++ b/examples/complete-dns-validation/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
}
}
diff --git a/examples/complete-email-validation-with-validation-domain/README.md b/examples/complete-email-validation-with-validation-domain/README.md
index 92a6571..dde8668 100644
--- a/examples/complete-email-validation-with-validation-domain/README.md
+++ b/examples/complete-email-validation-with-validation-domain/README.md
@@ -33,13 +33,13 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10 |
-| [aws](#requirement\_aws) | >= 6.0 |
+| [aws](#requirement\_aws) | >= 6.4 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.0 |
+| [aws](#provider\_aws) | >= 6.4 |
## Modules
diff --git a/examples/complete-email-validation-with-validation-domain/versions.tf b/examples/complete-email-validation-with-validation-domain/versions.tf
index f648e20..745d725 100644
--- a/examples/complete-email-validation-with-validation-domain/versions.tf
+++ b/examples/complete-email-validation-with-validation-domain/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
}
}
diff --git a/examples/complete-email-validation/README.md b/examples/complete-email-validation/README.md
index 60348af..c8a79f8 100644
--- a/examples/complete-email-validation/README.md
+++ b/examples/complete-email-validation/README.md
@@ -37,13 +37,13 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10 |
-| [aws](#requirement\_aws) | >= 6.0 |
+| [aws](#requirement\_aws) | >= 6.4 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 6.0 |
+| [aws](#provider\_aws) | >= 6.4 |
## Modules
diff --git a/examples/complete-email-validation/versions.tf b/examples/complete-email-validation/versions.tf
index f648e20..745d725 100644
--- a/examples/complete-email-validation/versions.tf
+++ b/examples/complete-email-validation/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
}
}
diff --git a/main.tf b/main.tf
index c376925..344943b 100644
--- a/main.tf
+++ b/main.tf
@@ -29,6 +29,7 @@ resource "aws_acm_certificate" "this" {
options {
certificate_transparency_logging_preference = var.certificate_transparency_logging_preference ? "ENABLED" : "DISABLED"
+ export = var.export
}
dynamic "validation_option" {
diff --git a/variables.tf b/variables.tf
index 1d1dc18..6219175 100644
--- a/variables.tf
+++ b/variables.tf
@@ -129,6 +129,12 @@ variable "key_algorithm" {
default = null
}
+variable "export" {
+ description = "Whether the certificate can be exported. Valid values are ENABLED or DISABLED (default). Note Issuing an exportable certificate is subject to additional charges"
+ type = string
+ default = null
+}
+
variable "private_authority_arn" {
description = "Private Certificate Authority ARN for issuing private certificates"
type = string
diff --git a/versions.tf b/versions.tf
index f648e20..745d725 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
}
}
diff --git a/wrappers/main.tf b/wrappers/main.tf
index 811de3a..5b58ed1 100644
--- a/wrappers/main.tf
+++ b/wrappers/main.tf
@@ -11,6 +11,7 @@ module "wrapper" {
distinct_domain_names = try(each.value.distinct_domain_names, var.defaults.distinct_domain_names, [])
dns_ttl = try(each.value.dns_ttl, var.defaults.dns_ttl, 60)
domain_name = try(each.value.domain_name, var.defaults.domain_name, "")
+ export = try(each.value.export, var.defaults.export, null)
key_algorithm = try(each.value.key_algorithm, var.defaults.key_algorithm, null)
private_authority_arn = try(each.value.private_authority_arn, var.defaults.private_authority_arn, null)
putin_khuylo = try(each.value.putin_khuylo, var.defaults.putin_khuylo, true)
diff --git a/wrappers/versions.tf b/wrappers/versions.tf
index f648e20..745d725 100644
--- a/wrappers/versions.tf
+++ b/wrappers/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 6.0"
+ version = ">= 6.4"
}
}
}