Changin corona & corona-api to haumdaucher
This commit is contained in:
+14
-1
@@ -10,7 +10,7 @@ locals {
|
||||
}
|
||||
|
||||
variable "subdomains_moritzgraf" {
|
||||
default = ["git","corona","corona-api","auth","prometheus","alertmanager","chat","mqtt", "cloud",
|
||||
default = ["git","auth","prometheus","alertmanager","chat","mqtt", "cloud",
|
||||
"monitoring","smtp","pop3","imap","jaeger","ldap","code","hub",
|
||||
"grafana","tt-rss","phpmyadmin","phppgadmin","www","rstudio","code" ]
|
||||
}
|
||||
@@ -24,6 +24,19 @@ resource "ovh_domain_zone_record" "moritzgraf_subdomains" {
|
||||
target = "moritzgraf.de."
|
||||
}
|
||||
|
||||
variable "subdomains_moritzgraf_k8s" {
|
||||
default = ["corona","corona-api" ]
|
||||
}
|
||||
|
||||
resource "ovh_domain_zone_record" "moritzgraf_subdomains_k8s" {
|
||||
for_each = toset( var.subdomains_moritzgraf_k8s )
|
||||
zone = "moritzgraf.de"
|
||||
subdomain = each.key
|
||||
fieldtype = "CNAME"
|
||||
ttl = local.ttl
|
||||
target = "haumdaucher.de."
|
||||
}
|
||||
|
||||
variable "subdomains_haumdaucher" {
|
||||
default = ["corona"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user