DOC: updated readme and variables

This commit is contained in:
xpk 2024-02-21 08:42:56 +08:00
parent 76e9977a9c
commit 6559fda2ff
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
ACM sends daily expiration events for all active certificates (public, private and imported) starting 45 days prior to expiration [1]. ACM sends daily expiration events for all active certificates (public, private and imported) starting 45 days prior to expiration [1].
This module sets up event rule and sns notification. This module sets up event rule and sns notification. Deliver email notifications for expiring certificates, useful for imported certificates.
[1] https://docs.aws.amazon.com/acm/latest/userguide/supported-events.html [1] https://docs.aws.amazon.com/acm/latest/userguide/supported-events.html
@ -67,11 +67,11 @@ An error occurred (ValidationException) when calling the PutAccountConfiguration
## Inputs ## Inputs
| Name | Description | Type | Default | Required | | Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:| |------|-----------------------------------------------------|------|---------|:--------:|
| days-before-expiry | ACM<pre>DaysBeforeExpiry</pre>account configuration | `number` | `45` | no | | days-before-expiry | ACM DaysBeforeExpiry account configuration | `number` | `45` | no |
| email-addresses | Set of email addresses to receive SNS notifications | `set(string)` | n/a | yes | | email-addresses | Set of email addresses to receive SNS notifications | `set(string)` | n/a | yes |
| res-prefix | Resource name prefix | `string` | `"aws"` | no | | res-prefix | Resource name prefix | `string` | `"aws"` | no |
## Outputs ## Outputs

View File

@ -5,7 +5,7 @@ variable "email-addresses" {
variable "days-before-expiry" { variable "days-before-expiry" {
type = number type = number
description = "ACM ```DaysBeforeExpiry``` account configuration" description = "ACM DaysBeforeExpiry account configuration"
default = 45 default = 45
} }