Skip to content

Commit

Permalink
fix: Add KMS Uniqueness (#51)
Browse files Browse the repository at this point in the history
Update main.tf
  • Loading branch information
mitch-hamm authored Jun 7, 2024
1 parent 8eb8b21 commit 39e9bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 39e9bc3

Please sign in to comment.