-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpage.tf
55 lines (49 loc) · 2.11 KB
/
webpage.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
resource "azurerm_dns_a_record" "default_www_openinfra" {
name = "@"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["95.216.192.39"]
}
resource "azurerm_dns_aaaa_record" "default_www_openinfra" {
name = "@"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["2a01:4f9:c010:2dba::1"]
}
resource "azurerm_dns_cname_record" "staging_openinfra" {
name = "staging"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
record = "www.open-infrastructure.de."
}
resource "azurerm_dns_a_record" "ev_openinfra" {
name = "ev"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["95.216.192.39"]
}
resource "azurerm_dns_aaaa_record" "ev_openinfra" {
name = "ev"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["2a01:4f9:c010:2dba::1"]
}
resource "azurerm_dns_a_record" "www_openinfra" {
name = "www"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["95.216.192.39"]
}
resource "azurerm_dns_aaaa_record" "www_openinfra" {
name = "www"
zone_name = azurerm_dns_zone.openinfrastructure_dns.name
resource_group_name = azurerm_resource_group.openinfrastructure_rg.name
ttl = 3600
records = ["2a01:4f9:c010:2dba::1"]
}