From 755ce04240bfa636df95efb625f25ba02e94ae8b Mon Sep 17 00:00:00 2001 From: Simon Kent Date: Thu, 20 Oct 2022 11:50:44 -0700 Subject: [PATCH] Fix another typo in metrics: oneof -> one_of (#433) Signed-off-by: Simon Kent Signed-off-by: Simon Kent --- terraform/gcp/modules/monitoring/prober/variables.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/gcp/modules/monitoring/prober/variables.tf b/terraform/gcp/modules/monitoring/prober/variables.tf index 1541c997..132186fd 100644 --- a/terraform/gcp/modules/monitoring/prober/variables.tf +++ b/terraform/gcp/modules/monitoring/prober/variables.tf @@ -67,9 +67,9 @@ variable "fulcio_probed_endpoints" { locals { notification_channels = toset([for nc in var.notification_channel_ids : format("projects/%v/notificationChannels/%v", var.project_id, nc)]) - fulcio_endpoint_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", var.fulcio_probed_endpoints)) - rekor_endpoint_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", var.rekor_probed_endpoints)) - all_endpoints_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", distinct(concat(var.rekor_probed_endpoints, var.fulcio_probed_endpoints)))) + fulcio_endpoint_filter = format("metric.labels.endpoint = one_of(\"%s\")", join("\", \"", var.fulcio_probed_endpoints)) + rekor_endpoint_filter = format("metric.labels.endpoint = one_of(\"%s\")", join("\", \"", var.rekor_probed_endpoints)) + all_endpoints_filter = format("metric.labels.endpoint = one_of(\"%s\")", join("\", \"", distinct(concat(var.rekor_probed_endpoints, var.fulcio_probed_endpoints)))) hosts = [{ host = var.fulcio_url endpoint_filter = local.fulcio_endpoint_filter