Added CNAME for dataminer load balancers

This commit is contained in:
Giancarlo Panichi 2024-02-13 12:41:48 +01:00
parent 8b69d03a73
commit ae09c220a5
1 changed files with 16 additions and 0 deletions

View File

@ -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]
} }
} }
} }