From c7d00c1a7486b72849be997856c247a05ba0ed73 Mon Sep 17 00:00:00 2001 From: Ahosking Date: Sun, 4 Apr 2021 01:53:45 -0400 Subject: [PATCH] Adds house --- ahoskingit/terraform/dns_ahoskingit.tf | 8 ++++ ahoskingit/terraform/terraform.tfstate | 41 ++++++++++++++++++- ahoskingit/terraform/terraform.tfstate.backup | 38 ++++++++--------- 3 files changed, 67 insertions(+), 20 deletions(-) diff --git a/ahoskingit/terraform/dns_ahoskingit.tf b/ahoskingit/terraform/dns_ahoskingit.tf index 8044109..52f568b 100644 --- a/ahoskingit/terraform/dns_ahoskingit.tf +++ b/ahoskingit/terraform/dns_ahoskingit.tf @@ -252,3 +252,11 @@ resource "cloudflare_record" "ahoskingit_com_txt" { ttl = 120 value = "google-site-verification=8-QKnBQElI58gnygDWcCzvDGRh31c_bFmNMaSd0fCwE" } + +resource "cloudflare_record" "ahoskingit_house" { + zone_id = cloudflare_zone.ahoskingit_com.id + name = "house.ahoskingit.com" + type = "CNAME" + value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone]) + proxied = "true" +} diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 84bbb16..8039230 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.14.5", - "serial": 175, + "serial": 177, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1423,6 +1423,45 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "ahoskingit_house", + "provider": "provider[\"registry.terraform.io/cloudflare/cloudflare\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2021-04-04T05:53:01.45939Z", + "data": null, + "hostname": "house.ahoskingit.com", + "id": "237efd75262f27b51a0882f8facfb21e", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2021-04-04T05:53:01.45939Z", + "name": "house.ahoskingit.com", + "priority": 0, + "proxiable": true, + "proxied": true, + "timeouts": null, + "ttl": 1, + "type": "CNAME", + "value": "home.ahoskingit.com", + "zone_id": "6b3fe5493c79efccf633719ab48ef00f" + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9", + "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 e18fc25..84bbb16 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.14.5", - "serial": 166, + "serial": 175, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -170,7 +170,7 @@ "multivalue_answer_routing_policy": null, "name": "automatedbytes.com", "records": [ - "174.93.115.139" + "174.93.115.121" ], "set_identifier": "", "ttl": 5, @@ -350,7 +350,7 @@ "multivalue_answer_routing_policy": null, "name": "home.ahoskingit.ca", "records": [ - "174.93.115.139" + "174.93.115.121" ], "set_identifier": "", "ttl": 5, @@ -604,7 +604,7 @@ "multivalue_answer_routing_policy": null, "name": "support.automatedbytes.com", "records": [ - "174.93.115.139" + "174.93.115.121" ], "set_identifier": "", "ttl": 5, @@ -1700,7 +1700,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-09-01T01:40:53.385345Z", + "created_on": "2021-03-30T04:41:58.040133Z", "data": {}, "hostname": "git.ahoskingit.com", "id": "275b11fceee4a282df623ee07b4052eb", @@ -1710,7 +1710,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-09-01T01:40:53.385345Z", + "modified_on": "2021-03-30T04:41:58.040133Z", "name": "git", "priority": 0, "proxiable": true, @@ -1718,7 +1718,7 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "174.93.115.139", + "value": "174.93.115.121", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "sensitive_attributes": [], @@ -1814,7 +1814,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-09-01T01:40:52.89381Z", + "created_on": "2021-03-30T04:41:57.527043Z", "data": {}, "hostname": "home.ahoskingit.com", "id": "dafe7c2cfd1d00a6a8115bfaeed572ae", @@ -1824,7 +1824,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-09-01T01:40:52.89381Z", + "modified_on": "2021-03-30T04:41:57.527043Z", "name": "home", "priority": 0, "proxiable": true, @@ -1832,7 +1832,7 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "174.93.115.139", + "value": "174.93.115.121", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "sensitive_attributes": [], @@ -1965,7 +1965,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-09-01T01:40:53.14597Z", + "created_on": "2021-03-30T04:41:57.03537Z", "data": {}, "hostname": "logs.ahoskingit.com", "id": "7e209dc77cac1ecf00ae79137228478b", @@ -1975,7 +1975,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-09-01T01:40:53.14597Z", + "modified_on": "2021-03-30T04:41:57.03537Z", "name": "logs", "priority": 0, "proxiable": true, @@ -1983,7 +1983,7 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "174.93.115.139", + "value": "174.93.115.121", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, "sensitive_attributes": [], @@ -2415,7 +2415,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-11-25T05:31:35.446278Z", + "created_on": "2021-03-30T04:41:57.269418Z", "data": {}, "hostname": "studi-odesigns.com", "id": "224e110e8c65cf854917416869ff2692", @@ -2425,7 +2425,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-11-25T05:31:35.446278Z", + "modified_on": "2021-03-30T04:41:57.269418Z", "name": "studi-odesigns.com", "priority": 0, "proxiable": true, @@ -2433,7 +2433,7 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "174.93.115.139", + "value": "174.93.115.121", "zone_id": "48662c59622a201785e89888f5154bd2" }, "sensitive_attributes": [], @@ -2750,7 +2750,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2020-09-01T01:40:52.634391Z", + "created_on": "2021-03-30T04:41:57.778814Z", "data": {}, "hostname": "support.automatedbytes.com", "id": "da8a433e85dbc7805a86ec622557475a", @@ -2760,7 +2760,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2020-09-01T01:40:52.634391Z", + "modified_on": "2021-03-30T04:41:57.778814Z", "name": "support", "priority": 0, "proxiable": true, @@ -2768,7 +2768,7 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "174.93.115.139", + "value": "174.93.115.121", "zone_id": "17ce22c4db27214cd0ec8f490fe07404" }, "sensitive_attributes": [],