Adding current state

This commit is contained in:
Moritz Graf
2020-12-15 12:01:41 +01:00
parent 094dec4074
commit e6d78779fd
6 changed files with 281 additions and 129 deletions
+60 -1
View File
@@ -10,6 +10,9 @@ locals {
}
## old moritzgrafde
## => 91.121.84.190
## super old docker compose host
## => 91.121.64.43
variable "subdomains_moritzgraf" {
default = ["auth","prometheus","alertmanager","chat","mqtt", "cloud",
@@ -80,7 +83,7 @@ variable "subdomains_haumdaucher" {
# ## graf.me -> problems with domain
variable "domains" {
default = [ "moritzgraf.de","haumdaucher.de","ameliegraf.de"
default = [ "moritzgraf.de","haumdaucher.de"
,"graf-fam.de","ianaa.art"
,"krassescheisse.de"]
}
@@ -103,6 +106,62 @@ resource "ovh_domain_zone_record" "haumdaucher_wildcard_domain" {
target = "136.243.23.215"
}
resource "ovh_domain_zone_record" "moritzgraf_wildcard_domain" {
zone = "moritzgraf.de"
subdomain = "*"
fieldtype = "A"
ttl = local.ttl
#target = "91.121.84.190"
target = "136.243.23.215"
}
######################################
## ameliegraf.de
locals {
# adobe
first = "151.101.128.119"
second = "151.101.192.119"
}
resource "ovh_domain_zone_record" "ameliegraf_de_first" {
zone = "ameliegraf.de"
subdomain = ""
fieldtype = "A"
ttl = local.ttl
#target = "91.121.84.190"
target = local.first
}
resource "ovh_domain_zone_record" "ameliegraf_de_second" {
zone = "ameliegraf.de"
subdomain = ""
fieldtype = "A"
ttl = local.ttl
#target = "91.121.84.190"
target = local.second
}
resource "ovh_domain_zone_record" "wildcard_ameliegraf_de_first" {
zone = "ameliegraf.de"
subdomain = "*"
fieldtype = "A"
ttl = local.ttl
#target = "91.121.84.190"
target = local.first
}
resource "ovh_domain_zone_record" "wildcard_ameliegraf_de_second" {
zone = "ameliegraf.de"
subdomain = "*"
fieldtype = "A"
ttl = local.ttl
#target = "91.121.84.190"
target = local.second
}
######################################
resource "ovh_domain_zone_record" "mail_moritzgraf" {
zone = "moritzgraf.de"