Adds Synthetics IP Addresses

Note: This does not include the IPs announced at https://discuss.newrelic.com/t/update-additional-ips-for-multiple-public-locations/78113/4
This commit is contained in:
Nemo 2019-11-14 16:27:08 +05:30
parent ea32d15137
commit 1d6e225f98
2 changed files with 142 additions and 0 deletions

109
locals.tf
View File

@ -51,4 +51,113 @@ locals {
"50.31.164.0/24",
"162.247.240.0/22",
]
# 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 = [
"34.224.255.169",
"34.201.89.115",
"52.44.71.247",
"35.168.185.185",
"35.168.141.9",
"52.21.22.43",
"18.217.88.49",
"18.221.231.23",
"18.217.159.174",
"13.56.137.180",
"54.241.52.158",
"52.36.251.118",
"54.200.187.189",
"34.216.201.131",
"35.182.104.198",
"52.60.83.48",
"54.76.137.83",
"34.241.198.127",
"34.242.252.249",
"35.178.22.102",
"35.177.175.106",
"35.177.31.93",
"52.47.183.1",
"52.47.151.56",
"52.47.138.207",
"18.194.77.136",
"18.195.163.71",
"35.158.225.167",
"13.48.9.24",
"13.48.110.136",
"13.53.195.221",
"13.114.248.197",
"52.68.223.178",
"52.79.210.83",
"52.79.128.135",
"13.228.35.210",
"13.228.39.146",
"54.79.127.20",
"54.153.159.26",
"13.55.72.115",
"13.127.97.140",
"13.127.48.170",
"18.162.140.46",
"18.162.37.58",
"18.162.37.84",
"18.231.56.185",
"52.67.114.110",
"157.175.118.77",
"157.175.21.254",
"157.175.116.90",
]
# https://s3.amazonaws.com/nr-synthetics-assets/nat-ip-dnsname/eu/ip.json
synthetics_eu = [
"52.55.5.95",
"3.226.130.207",
"3.226.166.29",
"3.221.162.190",
"3.209.231.131",
"34.231.42.238",
"3.130.159.252",
"3.13.7.11",
"3.130.155.242",
"54.241.225.13",
"13.52.82.190",
"54.203.35.154",
"52.41.176.146",
"54.70.67.57",
"52.36.137.104",
"99.79.171.209",
"35.182.62.100",
"52.49.136.252",
"54.194.249.4",
"34.246.126.141",
"35.177.225.27",
"3.10.3.62",
"35.176.182.243",
"15.188.0.93",
"15.188.24.216",
"35.180.222.79",
"18.196.204.231",
"18.194.190.77",
"52.58.190.36",
"13.48.93.230",
"13.48.119.249",
"13.48.122.131",
"3.113.168.207",
"3.114.96.177",
"13.124.210.74",
"52.78.104.15",
"18.138.125.43",
"18.139.249.51",
"13.237.25.50",
"52.64.34.29",
"3.104.27.23",
"13.235.112.208",
"13.234.196.179",
"18.162.84.186",
"18.162.159.153",
"18.162.240.143",
"18.229.104.97",
"18.229.121.209",
"157.175.27.172",
"157.175.106.232",
"157.175.115.252",
]
}

View File

@ -70,6 +70,39 @@ output "mobile_domains_eu" {
value = ["${local.mobile["eu"]}"]
}
output "synthetics_ips" {
description = "List of New Relic Synthetic Minion IPs for both US and EU accounts"
value = [
"${concat(local.synthetics_us, local.synthetics_eu)}",
]
}
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))}"]
}
output "synthetics_ips_us" {
description = "List of New Relic Synthetic Minion IPs for US accounts"
value = ["${local.synthetics_us}"]
}
output "synthetics_cidr_us" {
description = "List of New Relic Synthetic Minion IPs as /32 CIDR for US accounts"
value = ["${formatlist("%s/32", local.synthetics_us)}"]
}
output "synthetics_ips_eu" {
description = "List of New Relic Synthetic Minion IPs for EU accounts"
value = ["$${local.synthetics_eu}"]
}
output "synthetics_cidrs_eu" {
description = "List of New Relic Synthetic Minion IPs as /32 CIDR for EU accounts"
value = ["${formatlist("%s/32", local.synthetics_eu)}"]
}
output "ticketing_cidrs" {
value = ["${local.ticketing_and_webhooks}"]
}