Skip to content

Commit

Permalink
Make keyring unique as well (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-hamm authored Jun 7, 2024
1 parent 4497132 commit 398a40e
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 @@ -23,7 +23,7 @@ data "google_project" "project" {

resource "google_kms_key_ring" "keyring" {
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-keyring"
name = "sn-keyring-${var.cluster_name}"
location = var.region
}

Expand Down

0 comments on commit 398a40e

Please sign in to comment.