-
Notifications
You must be signed in to change notification settings - Fork 28
/
dns.tf
28 lines (26 loc) · 993 Bytes
/
dns.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Jenkins.io DNS zone
data "azurerm_resource_group" "proddns_jenkinsio" {
name = "proddns_jenkinsio"
}
data "azurerm_dns_zone" "jenkinsio" {
name = "jenkins.io"
resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name
}
# Jenkins-ci.org DNS zone
data "azurerm_resource_group" "proddns_jenkinsci" {
name = "proddns_jenkinsci"
}
data "azurerm_dns_zone" "jenkinsciorg" {
name = "jenkins-ci.org"
resource_group_name = data.azurerm_resource_group.proddns_jenkinsci.name
}
# Managed in jenkins-infra/azure-net for the letsencrypt IDP
data "azurerm_dns_zone" "trusted_ci_jenkins_io" {
name = "trusted.ci.jenkins.io"
resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name
}
# Managed in jenkins-infra/azure-net for the letsencrypt IDP
data "azurerm_dns_zone" "cert_ci_jenkins_io" {
name = "cert.ci.jenkins.io"
resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name
}