Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
romanini-ciandt committed Nov 27, 2024
1 parent c0ca534 commit 0298789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/monitoring_alerts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
locals {
all_keys_filter = "protoPayload.request.@type=\"type.googleapis.com/google.cloud.kms.v1.DestroyCryptoKeyVersionRequest\""
single_key_filter = "${local.all_keys_filter} AND protoPayload.request.name=~\"${values(module.kms.keys)[0]}/.*\""
# It's possible to replace "${values(module.kms.keys)[0]}" with your own existing KMS key's name. It's not required to create a new KMS key to take leverage from this example.
}

resource "random_string" "suffix" {
Expand Down

0 comments on commit 0298789

Please sign in to comment.