diff --git a/README.md b/README.md index 4e28fb3..9b5f197 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ aws acm request-certificate --domain-name example.com --subject-alternative-name | [viewer\_minimum\_protocol\_version](#input\_viewer\_minimum\_protocol\_version) | The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. This is ignored if the default CloudFront certificate is used. | `string` | `"TLSv1.2_2021"` | no | | [viewer\_mtls\_config](#input\_viewer\_mtls\_config) | Configuration for mutual TLS (mTLS) authentication on the CloudFront distribution. The trust store (`aws_cloudfront_trust_store`) should be managed outside this module, as it is commonly shared across multiple distributions. |
object({
mode = string
trust_store_id = string
advertise_trust_store_ca_names = optional(bool, false)
ignore_certificate_expiry = optional(bool, false)
}) | `null` | no |
| [viewer\_protocol\_policy](#input\_viewer\_protocol\_policy) | allow-all, redirect-to-https | `string` | `"redirect-to-https"` | no |
-| [web\_acl\_id](#input\_web\_acl\_id) | ID of the AWS WAF web ACL that is associated with the distribution | `string` | `""` | no |
+| [web\_acl\_id](#input\_web\_acl\_id) | ID or ARN of the AWS WAF web ACL that is associated with the distribution. NOTE: If using the latest version of WAF (WAFv2), be sure to use the ARN. If using WAF Classic, use the ID. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#web_acl_id-3 | `string` | `""` | no |
## Outputs
@@ -326,15 +326,15 @@ Setup dependencies:
To run tests:
-- Run all tests:
+- Run all tests:
```sh
atmos test run
```
-- Clean up test artifacts:
+- Clean up test artifacts:
```sh
atmos test clean
```
-- Explore additional test options:
+- Explore additional test options:
```sh
atmos test --help
```
diff --git a/variables.tf b/variables.tf
index d50f2b7..142a6e1 100644
--- a/variables.tf
+++ b/variables.tf
@@ -48,7 +48,7 @@ variable "custom_header" {
variable "web_acl_id" {
type = string
- description = "ID of the AWS WAF web ACL that is associated with the distribution"
+ description = "ID or ARN of the AWS WAF web ACL that is associated with the distribution. NOTE: If using the latest version of WAF (WAFv2), be sure to use the ARN. If using WAF Classic, use the ID. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#web_acl_id-3"
default = ""
}