Added CNAME for dataminer load balancers
This commit is contained in:
parent
8b69d03a73
commit
ae09c220a5
|
@ -292,6 +292,22 @@ module "dns_records_create" {
|
||||||
ttl = 8600
|
ttl = 8600
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
records = [local.cname_target]
|
records = [local.cname_target]
|
||||||
|
},
|
||||||
|
dataminer-prototypes = {
|
||||||
|
zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id
|
||||||
|
name = join(".", ["dataminer-prototypes", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name])
|
||||||
|
description = "DataMiner dataminer-prototypes load balancer"
|
||||||
|
ttl = 8600
|
||||||
|
type = "CNAME"
|
||||||
|
records = [local.cname_target]
|
||||||
|
},
|
||||||
|
dataminer-prototypes-workers = {
|
||||||
|
zone_id = data.terraform_remote_state.privnet_dns_router.outputs.dns_zone_id
|
||||||
|
name = join(".", ["dataminer-prototypes-workers", data.terraform_remote_state.privnet_dns_router.outputs.dns_zone.zone_name])
|
||||||
|
description = "DataMiner dataminer-prototypes-workers load balancer"
|
||||||
|
ttl = 8600
|
||||||
|
type = "CNAME"
|
||||||
|
records = [local.cname_target]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue