From 662945e9f3e5b02f997b5ff81eff5e8b96a4e9b0 Mon Sep 17 00:00:00 2001 From: mitch-hamm Date: Wed, 5 Jun 2024 16:16:22 -0500 Subject: [PATCH] Update main.tf --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index f4a12d7..9c5a8b9 100644 --- a/main.tf +++ b/main.tf @@ -29,7 +29,7 @@ resource "google_kms_key_ring" "keyring" { resource "google_kms_crypto_key" "gke_encryption_key" { count = var.enable_database_encryption && var.database_encryption_key_name == "" ? 1 : 0 # Only create if the feature is enabled and the customer didn't provide a key - name = "streamnative-gke-encryption-key" + name = "sn-gke-key-${var.cluster_name}" key_ring = google_kms_key_ring.keyring[0].id rotation_period = "12960000s" #150 days }