-
Notifications
You must be signed in to change notification settings - Fork 0
/
office365.tf
72 lines (60 loc) · 2.33 KB
/
office365.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
resource "azurerm_dns_mx_record" "td00_mx" {
name = "@"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record {
preference = 0
exchange = "pain.td00.de"
}
tags = {
Environment = "Production"
}
}
resource "azurerm_dns_cname_record" "paintd00_autodiscover" {
name = "autodiscover"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record = "pain.td00.de"
}
resource "azurerm_dns_cname_record" "pain_td00_cname2" {
name = "autoconfig"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record = "pain.td00.de"
}
resource "azurerm_dns_srv_record" "pain_td00_srv" {
name = "_autoconfig"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record {
priority = 1
weight = 5
port = 443
target = "autoconfig.open-infrastructure.de"
}
}
#resource "azurerm_dns_cname_record" "autodiscover" {
# name = "autodiscover"
# zone_name = azurerm_dns_zone.openinfrastructure_dns.name
# resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
# ttl = 3600
# record = "autodiscover.outlook.com"
#}
resource "azurerm_dns_cname_record" "enterpriseenrollment" {
name = "enterpriseenrollment"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record = "enterpriseenrollment.manage.microsoft.com"
}
resource "azurerm_dns_cname_record" "enterpriseregistration" {
name = "enterpriseregistration"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record = "enterpriseregistration.windows.net"
}