Skip to content

Commit

Permalink
add redis
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWoolfenden committed Oct 27, 2023
1 parent 3a556d5 commit 94ef609
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example/examplea/module.redis.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ data "google_kms_key_ring" "redis_keyring" {

resource "google_kms_crypto_key" "redis_key" {
name = "redis-key"
key_ring = google_kms_key_ring.redis_keyring.id
key_ring = data.google_kms_key_ring.redis_keyring.id
rotation_period = "7776000s"
lifecycle {
prevent_destroy = true
}

}


Expand Down

0 comments on commit 94ef609

Please sign in to comment.