diff --git a/ahoskingit/terraform/dns_ahoskingit.tf b/ahoskingit/terraform/dns_ahoskingit.tf index 9d5e58f..8044109 100644 --- a/ahoskingit/terraform/dns_ahoskingit.tf +++ b/ahoskingit/terraform/dns_ahoskingit.tf @@ -55,6 +55,14 @@ resource "cloudflare_record" "ahoskingit_recipes" { proxied = "true" } +resource "cloudflare_record" "ahoskingit_food" { + zone_id = cloudflare_zone.ahoskingit_com.id + name = "food.ahoskingit.com" + type = "CNAME" + value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone]) + proxied = "true" +} + resource "cloudflare_record" "ahoskingit_jumbledev" { zone_id = cloudflare_zone.ahoskingit_com.id name = "jumbledev.ahoskingit.com" diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 09c0746..046f1ec 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.13.5", - "serial": 134, + "serial": 136, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1188,6 +1188,44 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "ahoskingit_food", + "provider": "provider[\"registry.terraform.io/terraform-providers/cloudflare\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2021-01-08T05:14:29.869764Z", + "data": null, + "hostname": "food.ahoskingit.com", + "id": "576850fb90083e3180da7cbd70d18223", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2021-01-08T05:14:29.869764Z", + "name": "food.ahoskingit.com", + "priority": 0, + "proxiable": true, + "proxied": true, + "timeouts": null, + "ttl": 1, + "type": "CNAME", + "value": "home.ahoskingit.com", + "zone_id": "6b3fe5493c79efccf633719ab48ef00f" + }, + "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 ede2d10..09c0746 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.13.5", - "serial": 131, + "serial": 134, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -342,7 +342,7 @@ "multivalue_answer_routing_policy": null, "name": "automatedbytes.com", "records": [ - "45.63.19.159" + "174.93.115.139" ], "set_identifier": "", "ttl": 5, @@ -350,6 +350,7 @@ "weighted_routing_policy": [], "zone_id": "Z1H1ULBVLBNLL2" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "dependencies": [ "aws_route53_zone.automatedbytes" ] @@ -1234,7 +1235,7 @@ "schema_version": 1, "attributes": { "created_on": "2020-10-16T14:42:18.264613Z", - "data": null, + "data": {}, "hostname": "jumbledev.ahoskingit.com", "id": "2525c3ea9ec080390f1b29d4e0df3e1b", "metadata": { @@ -2153,7 +2154,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2019-06-20T04:38:40.555064Z", + "created_on": "2020-11-25T05:31:35.446278Z", "data": {}, "hostname": "studi-odesigns.com", "id": "224e110e8c65cf854917416869ff2692", @@ -2163,7 +2164,7 @@ "managed_by_argo_tunnel": "false", "source": "primary" }, - "modified_on": "2019-06-20T04:38:40.555064Z", + "modified_on": "2020-11-25T05:31:35.446278Z", "name": "studi-odesigns.com", "priority": 0, "proxiable": true, @@ -2171,9 +2172,10 @@ "timeouts": null, "ttl": 1, "type": "A", - "value": "45.63.19.159", + "value": "174.93.115.139", "zone_id": "48662c59622a201785e89888f5154bd2" }, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9", "dependencies": [ "cloudflare_zone.studi-o_com" ]