From 903bc2d0c2967b90ad165d5b1712bd2feaef87a3 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 9 Oct 2021 14:09:00 +0530 Subject: [PATCH] feat: Add new outputs for the OpenTelemetry integration --- outputs.tf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/outputs.tf b/outputs.tf index 07ee078..b84882e 100644 --- a/outputs.tf +++ b/outputs.tf @@ -197,3 +197,32 @@ output "pixie_domains_eu" { description = "Domain:Port combinations for Newrelic pixie integration for EU region customers" value = ["${concat(local.pixie["common"], local.pixie["eu"])}"] } + +output "opentelemetry_origins" { + description = "Host:Port combinations for all OpenTelemetry integrations (both US and EU customers)" + value = ["${concat(local.opentelemetry["us"], local.opentelemetry["eu"])}"] +} + +output "opentelemetry_origins_us" { + description = "Host:Port combinations for all OpenTelemetry integrations (For US only)" + value = ["${local.opentelemetry["us"]}"] +} + +output "opentelemetry_origins_eu" { + description = "Host:Port combinations for all OpenTelemetry integrations (For EU only)" + value = ["${local.opentelemetry["eu"]}"] +} +output "opentelemetry_cidrs" { + description = "CIDRs for all OpenTelemetry integrations (both US and EU customers)" + value = ["${concat(local.opentelemetry["us_cidr"], local.opentelemetry["eu_cidr"])}"] +} + +output "opentelemetry_cidrs_us" { + description = "CIDRs for all OpenTelemetry integrations (For US only)" + value = ["${local.opentelemetry["us_cidr"]}"] +} + +output "opentelemetry_cidrs_eu" { + description = "CIDRs for all OpenTelemetry integrations (For EU only)" + value = ["${local.opentelemetry["eu_cidr"]}"] +}