Adds subdomain joy for Grafana

This commit is contained in:
Alexander Hosking 2019-12-30 00:08:32 -05:00
parent faad21b1df
commit 6a8f8ca43a
3 changed files with 1023 additions and 686 deletions

View File

@ -57,9 +57,10 @@ resource "cloudflare_record" "home_ahoskingit" {
### Home Subdomains ###
resource "cloudflare_record" "temps_home_ahoskingit" {
zone_id = cloudflare_zone.ahoskingit_com.id
name = "temperature.home"
type = "CNAME"
value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone])
name = "temperatures.home"
type = "A"
# value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone])
value = var.home_ip
proxied = "true"
}
### END Home Subdomains ###

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.12.18",
"serial": 70,
"serial": 73,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"outputs": {},
"resources": [
@ -91,7 +91,7 @@
"failover_routing_policy": [],
"fqdn": "ahosking.com",
"geolocation_routing_policy": [],
"health_check_id": null,
"health_check_id": "",
"id": "Z1OR5RX3464I7O_ahosking.com._TXT",
"latency_routing_policy": [],
"multivalue_answer_routing_policy": null,
@ -99,7 +99,7 @@
"records": [
"google-site-verification=8-QKnBQElI58gnygDWcCzvDGRh31c_bFmNMaSd0fCwE"
],
"set_identifier": null,
"set_identifier": "",
"ttl": 60,
"type": "TXT",
"weighted_routing_policy": [],
@ -2315,28 +2315,27 @@
{
"schema_version": 1,
"attributes": {
"created_on": "2019-12-29T07:14:45.261168Z",
"created_on": "2019-12-29T07:28:42.895085Z",
"data": null,
"hostname": "temperature.home.ahoskingit.com",
"id": "e8c364f904216dc682dc69c12a676d80",
"hostname": "temperatures.home.ahoskingit.com",
"id": "561ce014b8e1b61388d875266980bab4",
"metadata": {
"auto_added": "false",
"managed_by_apps": "false",
"managed_by_argo_tunnel": "false"
},
"modified_on": "2019-12-29T07:14:45.261168Z",
"name": "temperature.home",
"modified_on": "2019-12-29T07:28:42.895085Z",
"name": "temperatures.home",
"priority": 0,
"proxiable": true,
"proxied": true,
"ttl": 1,
"type": "CNAME",
"value": "home.ahoskingit.com",
"type": "A",
"value": "70.27.17.5",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f"
},
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [
"cloudflare_record.home_ahoskingit",
"cloudflare_zone.ahoskingit_com"
]
}

File diff suppressed because it is too large Load Diff