Migrated whole setup to new server

This commit is contained in:
Moritz Graf 2020-11-15 16:23:59 +01:00
parent 1627125f5a
commit b3dde4b0d9
3 changed files with 10 additions and 62 deletions

View File

@ -52,20 +52,6 @@ resource "ovh_domain_zone_record" "one" {
#target = "91.121.84.190"
target = "136.243.23.215"
}
resource "ovh_domain_zone_record" "two" {
zone = "haumdaucher.de"
subdomain = "two"
fieldtype = "A"
ttl = local.ttl
target = "37.59.40.95"
}
resource "ovh_domain_zone_record" "three" {
zone = "haumdaucher.de"
subdomain = "three"
fieldtype = "A"
ttl = local.ttl
target = "37.59.61.198"
}
## krassescheisse
@ -123,15 +109,17 @@ resource "ovh_domain_zone_record" "mail_moritzgraf" {
subdomain = "mail"
fieldtype = "A"
ttl = local.ttl
target = "91.121.64.43" # old
#target = "91.121.64.43" # old
#target = "91.121.84.190" # new
target = "136.243.23.215" # hetzner
}
resource "ovh_domain_zone_record" "moritzgraf" {
zone = "moritzgraf.de"
fieldtype = "A"
ttl = local.ttl
target = "91.121.64.43" # old
#target = "91.121.64.43" # old
#target = "91.121.84.190" # new
target = "136.243.23.215" # hetzner
}

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.13.3",
"serial": 158,
"serial": 163,
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
"outputs": {},
"resources": [
@ -510,7 +510,7 @@
"fieldtype": "A",
"id": "5106870709",
"subdomain": "mail",
"target": "91.121.64.43",
"target": "136.243.23.215",
"ttl": 60,
"zone": "moritzgraf.de"
},
@ -530,7 +530,7 @@
"fieldtype": "A",
"id": "5118726203",
"subdomain": "",
"target": "91.121.64.43",
"target": "136.243.23.215",
"ttl": 60,
"zone": "moritzgraf.de"
},
@ -1156,46 +1156,6 @@
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "ovh_domain_zone_record",
"name": "three",
"provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fieldtype": "A",
"id": "5114515102",
"subdomain": "three",
"target": "37.59.61.198",
"ttl": 60,
"zone": "haumdaucher.de"
},
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "ovh_domain_zone_record",
"name": "two",
"provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"fieldtype": "A",
"id": "5114515101",
"subdomain": "two",
"target": "37.59.40.95",
"ttl": 60,
"zone": "haumdaucher.de"
},
"private": "bnVsbA=="
}
]
}
]
}

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.13.3",
"serial": 157,
"serial": 158,
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
"outputs": {},
"resources": [
@ -189,7 +189,7 @@
"fieldtype": "A",
"id": "5106871420",
"subdomain": "",
"target": "91.121.84.190",
"target": "136.243.23.215",
"ttl": 60,
"zone": "haumdaucher.de"
},
@ -209,7 +209,7 @@
"fieldtype": "A",
"id": "5112336220",
"subdomain": "*",
"target": "91.121.84.190",
"target": "136.243.23.215",
"ttl": 60,
"zone": "haumdaucher.de"
},