From c0de1e11902e8367d0b424517f85a6a43f24d9f3 Mon Sep 17 00:00:00 2001 From: Ahosking Date: Tue, 18 May 2021 22:54:54 -0400 Subject: [PATCH] Add assets.automatedbytes.com --- ahoskingit/terraform/dns_automatedbytes.tf | 8 ++++ ahoskingit/terraform/terraform.tfstate | 44 +++++++++++++++++-- ahoskingit/terraform/terraform.tfstate.backup | 43 +++++++++++++++++- 3 files changed, 90 insertions(+), 5 deletions(-) diff --git a/ahoskingit/terraform/dns_automatedbytes.tf b/ahoskingit/terraform/dns_automatedbytes.tf index 9eabd24..89227ed 100644 --- a/ahoskingit/terraform/dns_automatedbytes.tf +++ b/ahoskingit/terraform/dns_automatedbytes.tf @@ -62,6 +62,14 @@ resource "aws_route53_record" "mx_automatedbytes" { "10 ALT4.ASPMX.L.GOOGLE.COM"] } +resource "cloudflare_record" "assets_automatedbytes" { + zone_id = cloudflare_zone.automatedbytes_com.id + name = "assets" + type = "A" + proxied = true + value = var.home_ip +} + resource "cloudflare_record" "support_automatedbytes" { zone_id = cloudflare_zone.automatedbytes_com.id name = "support" diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 8039230..3e00a09 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, - "terraform_version": "0.14.5", - "serial": 177, + "terraform_version": "0.14.3", + "serial": 179, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1433,7 +1433,7 @@ "schema_version": 1, "attributes": { "created_on": "2021-04-04T05:53:01.45939Z", - "data": null, + "data": {}, "hostname": "house.ahoskingit.com", "id": "237efd75262f27b51a0882f8facfb21e", "metadata": { @@ -1654,6 +1654,44 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "assets_automatedbytes", + "provider": "provider[\"registry.terraform.io/cloudflare/cloudflare\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2021-05-19T02:54:26.930574Z", + "data": null, + "hostname": "assets.automatedbytes.com", + "id": "e3a0edc1bd2cfbffb900e7656af71329", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2021-05-19T02:54:26.930574Z", + "name": "assets", + "priority": 0, + "proxiable": true, + "proxied": true, + "timeouts": null, + "ttl": 1, + "type": "A", + "value": "174.93.115.121", + "zone_id": "17ce22c4db27214cd0ec8f490fe07404" + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9", + "dependencies": [ + "cloudflare_zone.automatedbytes_com" + ] + } + ] + }, { "mode": "managed", "type": "cloudflare_record", diff --git a/ahoskingit/terraform/terraform.tfstate.backup b/ahoskingit/terraform/terraform.tfstate.backup index 84bbb16..31361d9 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": 175, + "terraform_version": "0.14.3", + "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",