Adding new hetzner server as target

This commit is contained in:
Moritz Graf 2020-11-14 19:28:56 +01:00
parent 2dc555a9a3
commit 21d6a7bfc7
9 changed files with 6248 additions and 185 deletions

View File

@ -49,7 +49,8 @@ resource "ovh_domain_zone_record" "one" {
subdomain = "one" subdomain = "one"
fieldtype = "A" fieldtype = "A"
ttl = local.ttl ttl = local.ttl
target = "91.121.84.190" #target = "91.121.84.190"
target = "136.243.23.215"
} }
resource "ovh_domain_zone_record" "two" { resource "ovh_domain_zone_record" "two" {
zone = "haumdaucher.de" zone = "haumdaucher.de"
@ -94,7 +95,7 @@ variable "subdomains_haumdaucher" {
# ## graf.me -> problems with domain # ## graf.me -> problems with domain
variable "domains" { variable "domains" {
default = [ "moritzgraf.de","haumdaucher.de","ameliegraf.de" default = [ "moritzgraf.de","haumdaucher.de","ameliegraf.de"
,"graf-fam.de","iptize.it","ianaa.art" ,"graf-fam.de","ianaa.art"
,"krassescheisse.de"] ,"krassescheisse.de"]
} }

View File

@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "0.12.24", "terraform_version": "0.13.3",
"serial": 150, "serial": 157,
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e", "lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@ -9,8 +9,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "dkim_record", "name": "dkim_record",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -64,19 +63,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871419",
"subdomain": "dkim._domainkey",
"target": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhnjYV76s63M4zVRTjVf5Z/fTO6Rq3o4DXg62FCgAxQOYB9ANXeBvUPokT+p5SgjGC8HwBYIzzwCTCS6sqHsy8NfnHU1xFH5NcY4LqTopVX//eYpPF+bTwarDVu/lcCxiX4cN84U1yL8lqf0sOJ7ubGlSeZ/SfM/Ppj7Wkh/kBOQIDAQAB",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -109,8 +95,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "dmarc_record", "name": "dmarc_record",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -164,19 +149,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871413",
"subdomain": "_dmarc",
"target": "v=DMARC1; p=reject; rua=none; ruf=mailto:admin@moritzgraf.de; adkim=s; aspf=s",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -209,7 +181,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "haumdaucher_domain", "name": "haumdaucher_domain",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -229,7 +201,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "haumdaucher_wildcard_domain", "name": "haumdaucher_wildcard_domain",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -249,8 +221,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "krassescheisse_subdomains", "name": "krassescheisse_subdomains",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "alertmanager", "index_key": "alertmanager",
@ -531,7 +502,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "mail_moritzgraf", "name": "mail_moritzgraf",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -551,7 +522,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf", "name": "moritzgraf",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -571,8 +542,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf_subdomains", "name": "moritzgraf_subdomains",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "alertmanager", "index_key": "alertmanager",
@ -853,8 +823,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf_subdomains_k8s", "name": "moritzgraf_subdomains_k8s",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "corona", "index_key": "corona",
@ -914,8 +883,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "mx_records", "name": "mx_records",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -969,19 +937,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "MX",
"id": "5106871414",
"subdomain": "",
"target": "10 mail.moritzgraf.de.",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1014,7 +969,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "one", "name": "one",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -1022,7 +977,7 @@
"fieldtype": "A", "fieldtype": "A",
"id": "5114515103", "id": "5114515103",
"subdomain": "one", "subdomain": "one",
"target": "91.121.84.190", "target": "136.243.23.215",
"ttl": 60, "ttl": 60,
"zone": "haumdaucher.de" "zone": "haumdaucher.de"
}, },
@ -1034,8 +989,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "spf_record_spf", "name": "spf_record_spf",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -1089,19 +1043,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "SPF",
"id": "5106871415",
"subdomain": "",
"target": "\"v=spf1 mx a:mail.moritzgraf.de -all\"",
"ttl": 600,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1134,8 +1075,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "spf_record_txt", "name": "spf_record_txt",
"each": "map", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -1189,19 +1129,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871430",
"subdomain": "",
"target": "v=spf1 mx a:mail.moritzgraf.de -all",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1234,7 +1161,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "three", "name": "three",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -1254,7 +1181,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "two", "name": "two",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/ovh/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "0.12.24", "terraform_version": "0.13.3",
"serial": 147, "serial": 155,
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e", "lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@ -9,8 +9,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "dkim_record", "name": "dkim_record",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -64,19 +63,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871419",
"subdomain": "dkim._domainkey",
"target": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhnjYV76s63M4zVRTjVf5Z/fTO6Rq3o4DXg62FCgAxQOYB9ANXeBvUPokT+p5SgjGC8HwBYIzzwCTCS6sqHsy8NfnHU1xFH5NcY4LqTopVX//eYpPF+bTwarDVu/lcCxiX4cN84U1yL8lqf0sOJ7ubGlSeZ/SfM/Ppj7Wkh/kBOQIDAQAB",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -109,8 +95,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "dmarc_record", "name": "dmarc_record",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -164,19 +149,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871413",
"subdomain": "_dmarc",
"target": "v=DMARC1; p=reject; rua=none; ruf=mailto:admin@moritzgraf.de; adkim=s; aspf=s",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -209,7 +181,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "haumdaucher_domain", "name": "haumdaucher_domain",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -229,7 +201,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "haumdaucher_wildcard_domain", "name": "haumdaucher_wildcard_domain",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -249,8 +221,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "krassescheisse_subdomains", "name": "krassescheisse_subdomains",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "alertmanager", "index_key": "alertmanager",
@ -531,7 +502,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "mail_moritzgraf", "name": "mail_moritzgraf",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -539,7 +510,7 @@
"fieldtype": "A", "fieldtype": "A",
"id": "5106870709", "id": "5106870709",
"subdomain": "mail", "subdomain": "mail",
"target": "91.121.84.190", "target": "91.121.64.43",
"ttl": 60, "ttl": 60,
"zone": "moritzgraf.de" "zone": "moritzgraf.de"
}, },
@ -551,7 +522,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf", "name": "moritzgraf",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -559,7 +530,7 @@
"fieldtype": "A", "fieldtype": "A",
"id": "5118726203", "id": "5118726203",
"subdomain": "", "subdomain": "",
"target": "91.121.84.190", "target": "91.121.64.43",
"ttl": 60, "ttl": 60,
"zone": "moritzgraf.de" "zone": "moritzgraf.de"
}, },
@ -571,8 +542,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf_subdomains", "name": "moritzgraf_subdomains",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "alertmanager", "index_key": "alertmanager",
@ -853,8 +823,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "moritzgraf_subdomains_k8s", "name": "moritzgraf_subdomains_k8s",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "corona", "index_key": "corona",
@ -914,8 +883,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "mx_records", "name": "mx_records",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -969,19 +937,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "MX",
"id": "5106871414",
"subdomain": "",
"target": "10 mail.moritzgraf.de.",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1014,7 +969,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "one", "name": "one",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -1034,8 +989,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "spf_record_spf", "name": "spf_record_spf",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -1089,19 +1043,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "SPF",
"id": "5106871415",
"subdomain": "",
"target": "\"v=spf1 mx a:mail.moritzgraf.de -all\"",
"ttl": 600,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1134,8 +1075,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "spf_record_txt", "name": "spf_record_txt",
"each": "map", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"provider": "provider.ovh",
"instances": [ "instances": [
{ {
"index_key": "ameliegraf.de", "index_key": "ameliegraf.de",
@ -1189,19 +1129,6 @@
}, },
"private": "bnVsbA==" "private": "bnVsbA=="
}, },
{
"index_key": "iptize.it",
"schema_version": 0,
"attributes": {
"fieldtype": "TXT",
"id": "5106871430",
"subdomain": "",
"target": "v=spf1 mx a:mail.moritzgraf.de -all",
"ttl": 60,
"zone": "iptize.it"
},
"private": "bnVsbA=="
},
{ {
"index_key": "krassescheisse.de", "index_key": "krassescheisse.de",
"schema_version": 0, "schema_version": 0,
@ -1234,7 +1161,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "three", "name": "three",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,
@ -1254,7 +1181,7 @@
"mode": "managed", "mode": "managed",
"type": "ovh_domain_zone_record", "type": "ovh_domain_zone_record",
"name": "two", "name": "two",
"provider": "provider.ovh", "provider": "provider[\"registry.terraform.io/-/ovh\"]",
"instances": [ "instances": [
{ {
"schema_version": 0, "schema_version": 0,

8
terraform/versions.tf Normal file
View File

@ -0,0 +1,8 @@
terraform {
required_providers {
ovh = {
source = "ovh/ovh"
}
}
required_version = ">= 0.13"
}