From 629b5c9697686492e0e2321255cf1d4c2ec889ff Mon Sep 17 00:00:00 2001 From: Olblak Date: Thu, 13 Feb 2020 14:04:22 +0100 Subject: [PATCH] Add new dns record set to ci.j.io private iop --- plans/dns_jenkinsio.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plans/dns_jenkinsio.tf b/plans/dns_jenkinsio.tf index 7e0e14e9..1fb5e134 100644 --- a/plans/dns_jenkinsio.tf +++ b/plans/dns_jenkinsio.tf @@ -215,3 +215,11 @@ resource "azurerm_dns_a_record" "certci" { ttl = 3600 records = ["${azurerm_network_interface.certci_private.private_ip_address}"] } + +resource "azurerm_dns_a_record" "ciprivate" { + name = "ci.private.jenkins.io" + zone_name = "${azurerm_dns_zone.jenkinsio.name}" + resource_group_name = "${azurerm_resource_group.dns_jenkinsio.name}" + ttl = 3600 + records = ["${azurerm_network_interface.ci_public.private_ip_address}"] +}