From 260c6126baa50b8a59e6695e47dabf69709964bb Mon Sep 17 00:00:00 2001 From: Chris Wise Date: Mon, 30 Oct 2023 16:09:58 +0000 Subject: [PATCH] update README.md --- README.md | 2 +- variables.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5adc4b..657d5fe 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Functional examples are included in the | decrypters | List of comma-separated owners for each key declared in set\_decrypters\_for. | `list(string)` | `[]` | no | | encrypters | List of comma-separated owners for each key declared in set\_encrypters\_for. | `list(string)` | `[]` | no | | key\_algorithm | The algorithm to use when creating a version based on this template. See the https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm for possible inputs. | `string` | `"GOOGLE_SYMMETRIC_ENCRYPTION"` | no | +| key\_destroy\_scheduled\_duration | Set The period of time that versions of keys spend in the DESTROY\_SCHEDULED state before transitioning to DESTROYED. | `string` | `"86400"` | no | | key\_protection\_level | The protection level to use when creating a version based on this template. Default value: "SOFTWARE" Possible values: ["SOFTWARE", "HSM"] | `string` | `"SOFTWARE"` | no | | key\_rotation\_period | Generate a new key every time this period passes. | `string` | `"100000s"` | no | | keyring | Keyring name. | `string` | n/a | yes | @@ -55,7 +56,6 @@ Functional examples are included in the | location | Location for the keyring. | `string` | n/a | yes | | owners | List of comma-separated owners for each key declared in set\_owners\_for. | `list(string)` | `[]` | no | | prevent\_destroy | Set the prevent\_destroy lifecycle attribute on keys. | `bool` | `true` | no | -| key\_destroy\_scheduled\_duration | Set the destroy\_scheduled\_duration attribute on keys. The default when not set is 24 hours | `string` | `""` | no | | project\_id | Project id where the keyring will be created. | `string` | n/a | yes | | purpose | The immutable purpose of the CryptoKey. Possible values are ENCRYPT\_DECRYPT, ASYMMETRIC\_SIGN, and ASYMMETRIC\_DECRYPT. | `string` | `"ENCRYPT_DECRYPT"` | no | | set\_decrypters\_for | Name of keys for which decrypters will be set. | `list(string)` | `[]` | no | diff --git a/variables.tf b/variables.tf index 3c9c612..cfa6d07 100644 --- a/variables.tf +++ b/variables.tf @@ -43,9 +43,9 @@ variable "prevent_destroy" { } variable "key_destroy_scheduled_duration" { - description = "Set The period of time that versions of keys spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED" + description = "Set The period of time that versions of keys spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED." type = string - default = "" + default = "86400" } variable "purpose" {