Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add KMS Uniqueness #51

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update main.tf
mitch-hamm committed Jun 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 662945e9f3e5b02f997b5ff81eff5e8b96a4e9b0
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -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
}