@ -15,7 +15,7 @@ Provides a KMS customer master key.
```
resource "aws_kms_key" "a" {
description = "KMS key 1"
deletion_window = 10
deletion_window_in_days = 10
}
```
@ -24,9 +24,11 @@ resource "aws_kms_key" "a" {
The following arguments are supported:
* `description` - (Optional) The description of the key as viewed in AWS console.
* `key_usage` - (Optional) Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported.
* `key_usage` - (Optional) Specifies the intended use of the key.
Defaults to ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported.
* `policy` - (Optional) A valid policy JSON document.
* `deletion_window` - (Optional) Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days.
* `deletion_window_in_days` - (Optional) Duration in days after which the key is deleted
after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days.