From ba6cd0d9e9b0dcd03495a4fab9997a02a1cfb5b0 Mon Sep 17 00:00:00 2001 From: Ahosking Date: Fri, 24 Jul 2020 01:46:48 -0400 Subject: [PATCH] Adds recipes.ahoskingit.com --- ahoskingit/terraform/dns_ahoskingit.tf | 10 ++++- ahoskingit/terraform/terraform.tfstate | 39 ++++++++++++++++++- ahoskingit/terraform/terraform.tfstate.backup | 30 +++++++------- 3 files changed, 62 insertions(+), 17 deletions(-) diff --git a/ahoskingit/terraform/dns_ahoskingit.tf b/ahoskingit/terraform/dns_ahoskingit.tf index 9669d51..562ef70 100644 --- a/ahoskingit/terraform/dns_ahoskingit.tf +++ b/ahoskingit/terraform/dns_ahoskingit.tf @@ -47,6 +47,14 @@ resource "cloudflare_record" "ahoskingit_plex" { proxied = "true" } +resource "cloudflare_record" "ahoskingit_recipes" { + zone_id = cloudflare_zone.ahoskingit_com.id + name = "recipes.ahoskingit.com" + type = "CNAME" + value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone]) + proxied = "true" +} + resource "cloudflare_record" "home_ahoskingit" { zone_id = cloudflare_zone.ahoskingit_com.id name = "home" @@ -227,4 +235,4 @@ resource "cloudflare_record" "ahoskingit_com_txt" { type = "TXT" ttl = 120 value = "google-site-verification=8-QKnBQElI58gnygDWcCzvDGRh31c_bFmNMaSd0fCwE" -} \ No newline at end of file +} diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 402b013..4d0ded4 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.12.26", - "serial": 113, + "serial": 115, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1252,6 +1252,43 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "ahoskingit_recipes", + "provider": "provider.cloudflare", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2020-07-24T05:45:59.35074Z", + "data": null, + "hostname": "recipes.ahoskingit.com", + "id": "be77a46daa65e4f8ccc146bd4e65bc24", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2020-07-24T05:45:59.35074Z", + "name": "recipes.ahoskingit.com", + "priority": 0, + "proxiable": true, + "proxied": true, + "ttl": 1, + "type": "CNAME", + "value": "home.ahoskingit.com", + "zone_id": "6b3fe5493c79efccf633719ab48ef00f" + }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", + "dependencies": [ + "cloudflare_record.home_ahoskingit", + "cloudflare_zone.ahoskingit_com" + ] + } + ] + }, { "mode": "managed", "type": "cloudflare_record", diff --git a/ahoskingit/terraform/terraform.tfstate.backup b/ahoskingit/terraform/terraform.tfstate.backup index 5406cf6..402b013 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.12.26", - "serial": 106, + "serial": 113, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -516,7 +516,7 @@ "multivalue_answer_routing_policy": null, "name": "home.ahoskingit.ca", "records": [ - "70.31.147.28" + "70.31.145.177" ], "set_identifier": "", "ttl": 5, @@ -763,7 +763,7 @@ "multivalue_answer_routing_policy": null, "name": "support.automatedbytes.com", "records": [ - "70.31.147.28" + "70.31.145.177" ], "set_identifier": "", "ttl": 5, @@ -1369,7 +1369,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-06-30T13:32:28.172839Z", + "created_on": "2020-07-02T15:24:04.144097Z", "data": {}, "hostname": "git.ahoskingit.com", "id": "275b11fceee4a282df623ee07b4052eb", @@ -1379,14 +1379,14 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-06-30T13:32:28.172839Z", + "modified_on": "2020-07-02T15:24:04.144097Z", "name": "git", "priority": 0, "proxiable": true, "proxied": false, "ttl": 1, "type": "A", - "value": "70.31.147.28", + "value": "70.31.145.177", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", @@ -1477,7 +1477,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-06-30T13:32:28.934498Z", + "created_on": "2020-07-02T15:24:04.653756Z", "data": {}, "hostname": "home.ahoskingit.com", "id": "dafe7c2cfd1d00a6a8115bfaeed572ae", @@ -1487,14 +1487,14 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-06-30T13:32:28.934498Z", + "modified_on": "2020-07-02T15:24:04.653756Z", "name": "home", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.31.147.28", + "value": "70.31.145.177", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", @@ -1620,7 +1620,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-06-30T13:32:28.699358Z", + "created_on": "2020-07-02T15:24:04.899703Z", "data": {}, "hostname": "logs.ahoskingit.com", "id": "7e209dc77cac1ecf00ae79137228478b", @@ -1630,14 +1630,14 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-06-30T13:32:28.699358Z", + "modified_on": "2020-07-02T15:24:04.899703Z", "name": "logs", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.31.147.28", + "value": "70.31.145.177", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", @@ -2362,7 +2362,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-06-30T13:32:28.428665Z", + "created_on": "2020-07-02T15:24:04.390471Z", "data": {}, "hostname": "support.automatedbytes.com", "id": "da8a433e85dbc7805a86ec622557475a", @@ -2372,14 +2372,14 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-06-30T13:32:28.428665Z", + "modified_on": "2020-07-02T15:24:04.390471Z", "name": "support", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.31.147.28", + "value": "70.31.145.177", "zone_id": "17ce22c4db27214cd0ec8f490fe07404" }, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",