Adding wildcard forward for haumdaucher.de
This commit is contained in:
parent
37bd4363d4
commit
678257c59a
|
|
@ -28,14 +28,14 @@ variable "subdomains_haumdaucher" {
|
||||||
default = ["corona"]
|
default = ["corona"]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "ovh_domain_zone_record" "haumdaucher_subdomains" {
|
# resource "ovh_domain_zone_record" "haumdaucher_subdomains" {
|
||||||
for_each = toset( var.subdomains_haumdaucher )
|
# for_each = toset( var.subdomains_haumdaucher )
|
||||||
zone = "haumdaucher.de"
|
# zone = "haumdaucher.de"
|
||||||
subdomain = each.key
|
# subdomain = each.key
|
||||||
fieldtype = "CNAME"
|
# fieldtype = "CNAME"
|
||||||
ttl = local.ttl
|
# ttl = local.ttl
|
||||||
target = "haumdaucher.de."
|
# target = "haumdaucher.de."
|
||||||
}
|
# }
|
||||||
|
|
||||||
# ## graf.me -> problems with domain
|
# ## graf.me -> problems with domain
|
||||||
variable "domains" {
|
variable "domains" {
|
||||||
|
|
@ -52,6 +52,14 @@ resource "ovh_domain_zone_record" "haumdaucher_domain" {
|
||||||
target = "91.121.84.190"
|
target = "91.121.84.190"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "ovh_domain_zone_record" "haumdaucher_wildcard_domain" {
|
||||||
|
zone = "haumdaucher.de"
|
||||||
|
subdomain = "*"
|
||||||
|
fieldtype = "A"
|
||||||
|
ttl = local.ttl
|
||||||
|
target = "91.121.84.190"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
resource "ovh_domain_zone_record" "mail_moritzgraf" {
|
resource "ovh_domain_zone_record" "mail_moritzgraf" {
|
||||||
zone = "moritzgraf.de"
|
zone = "moritzgraf.de"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "0.12.20",
|
"terraform_version": "0.12.20",
|
||||||
"serial": 69,
|
"serial": 73,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
|
@ -228,18 +228,16 @@
|
||||||
{
|
{
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
"type": "ovh_domain_zone_record",
|
"type": "ovh_domain_zone_record",
|
||||||
"name": "haumdaucher_subdomains",
|
"name": "haumdaucher_wildcard_domain",
|
||||||
"each": "map",
|
|
||||||
"provider": "provider.ovh",
|
"provider": "provider.ovh",
|
||||||
"instances": [
|
"instances": [
|
||||||
{
|
{
|
||||||
"index_key": "corona",
|
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"fieldtype": "CNAME",
|
"fieldtype": "A",
|
||||||
"id": "5110449971",
|
"id": "5112336220",
|
||||||
"subdomain": "corona",
|
"subdomain": "*",
|
||||||
"target": "haumdaucher.de.",
|
"target": "91.121.84.190",
|
||||||
"ttl": 60,
|
"ttl": 60,
|
||||||
"zone": "haumdaucher.de"
|
"zone": "haumdaucher.de"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "0.12.20",
|
"terraform_version": "0.12.20",
|
||||||
"serial": 67,
|
"serial": 71,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
|
@ -217,29 +217,7 @@
|
||||||
"fieldtype": "A",
|
"fieldtype": "A",
|
||||||
"id": "5106871420",
|
"id": "5106871420",
|
||||||
"subdomain": "",
|
"subdomain": "",
|
||||||
"target": "91.121.64.43",
|
"target": "91.121.84.190",
|
||||||
"ttl": 60,
|
|
||||||
"zone": "haumdaucher.de"
|
|
||||||
},
|
|
||||||
"private": "bnVsbA=="
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "ovh_domain_zone_record",
|
|
||||||
"name": "haumdaucher_subdomains",
|
|
||||||
"each": "map",
|
|
||||||
"provider": "provider.ovh",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"index_key": "corona",
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"fieldtype": "CNAME",
|
|
||||||
"id": "5110449971",
|
|
||||||
"subdomain": "corona",
|
|
||||||
"target": "haumdaucher.de.",
|
|
||||||
"ttl": 60,
|
"ttl": 60,
|
||||||
"zone": "haumdaucher.de"
|
"zone": "haumdaucher.de"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue