Adds synthetic minion private endpoint IPs
This commit is contained in:
parent
06e7ede6c7
commit
75605a1d47
17
locals.tf
17
locals.tf
|
@ -58,6 +58,23 @@ locals {
|
|||
"161.156.125.32/28",
|
||||
]
|
||||
|
||||
synthetics_private_domains = {
|
||||
us = "synthetics-horde.nr-data.net"
|
||||
eu = "synthetics-horde.eu01.nr-data.net"
|
||||
}
|
||||
|
||||
synthetics_private_ips = {
|
||||
us = [
|
||||
"13.248.153.51",
|
||||
"76.223.21.185",
|
||||
]
|
||||
|
||||
eu = [
|
||||
"185.221.86.57",
|
||||
"185.221.86.25",
|
||||
]
|
||||
}
|
||||
|
||||
# Documented at https://docs.newrelic.com/docs/synthetics/new-relic-synthetics/administration/synthetics-public-minion-ips#locations-labels
|
||||
# https://s3.amazonaws.com/nr-synthetics-assets/nat-ip-dnsname/production/ip.json
|
||||
synthetics_us = [
|
||||
|
|
32
outputs.tf
32
outputs.tf
|
@ -78,6 +78,36 @@ output "synthetics_ips" {
|
|||
]
|
||||
}
|
||||
|
||||
output "synthetics_private_ips_us" {
|
||||
value = ["${local.synthetics_private_ips["us"]}"]
|
||||
description = "Synthetic Private Minion endpoint IPs for US accounts"
|
||||
}
|
||||
|
||||
output "synthetics_private_domains_us" {
|
||||
value = ["${local.synthetics_private_domains["us"]}"]
|
||||
description = "Synthetic Private Minion endpoint Domains for US accounts"
|
||||
}
|
||||
|
||||
output "synthetics_private_cidrs_us" {
|
||||
value = ["${formatlist("%s/32", local.synthetics_private_ips["us"])}"]
|
||||
description = "Synthetic Private Minion endpoint IPs as CIDR ranges for US accounts"
|
||||
}
|
||||
|
||||
output "synthetics_private_ips_eu" {
|
||||
value = ["${local.synthetics_private_ips["eu"]}"]
|
||||
description = "Synthetic Private Minion endpoint IPs for eu accounts"
|
||||
}
|
||||
|
||||
output "synthetics_private_domains_eu" {
|
||||
value = ["${local.synthetics_private_domains["eu"]}"]
|
||||
description = "Synthetic Private Minion endpoint Domains for EU accounts"
|
||||
}
|
||||
|
||||
output "synthetics_private_cidrs_eu" {
|
||||
value = ["${formatlist("%s/32", local.synthetics_private_ips["eu"])}"]
|
||||
description = "Synthetic Private Minion endpoint IPs as CIDR ranges for EU accounts"
|
||||
}
|
||||
|
||||
output "synthetics_cidrs" {
|
||||
description = "List of New Relic Synthetic Minion IPs as /32 CIDR for both US and EU accounts"
|
||||
value = ["${formatlist("%s/32", concat(local.synthetics_us, local.synthetics_eu))}"]
|
||||
|
@ -88,7 +118,7 @@ output "synthetics_ips_us" {
|
|||
value = ["${local.synthetics_us}"]
|
||||
}
|
||||
|
||||
output "synthetics_cidr_us" {
|
||||
output "synthetics_cidrs_us" {
|
||||
description = "List of New Relic Synthetic Minion IPs as /32 CIDR for US accounts"
|
||||
value = ["${formatlist("%s/32", local.synthetics_us)}"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue