From 9a9b2c7737626f9706d4fae71f86a79a32cfdd6d Mon Sep 17 00:00:00 2001 From: Ahosking Date: Tue, 18 May 2021 23:33:07 -0400 Subject: [PATCH] Add other assets urls --- ahoskingit/terraform/dns_automatedbytes.tf | 16 ++++ ahoskingit/terraform/terraform.tfstate | 80 ++++++++++++++++++- ahoskingit/terraform/terraform.tfstate.backup | 42 +++++++++- 3 files changed, 134 insertions(+), 4 deletions(-) diff --git a/ahoskingit/terraform/dns_automatedbytes.tf b/ahoskingit/terraform/dns_automatedbytes.tf index 89227ed..364e59e 100644 --- a/ahoskingit/terraform/dns_automatedbytes.tf +++ b/ahoskingit/terraform/dns_automatedbytes.tf @@ -70,6 +70,22 @@ resource "cloudflare_record" "assets_automatedbytes" { value = var.home_ip } +resource "cloudflare_record" "assets_api_automatedbytes" { + zone_id = cloudflare_zone.automatedbytes_com.id + name = "assets-api" + type = "A" + proxied = true + value = var.home_ip +} + +resource "cloudflare_record" "assets_mesh_automatedbytes" { + zone_id = cloudflare_zone.automatedbytes_com.id + name = "assets-mesh" + 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 3e00a09..61bd153 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.14.3", - "serial": 179, + "serial": 182, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1654,6 +1654,44 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "assets_api_automatedbytes", + "provider": "provider[\"registry.terraform.io/cloudflare/cloudflare\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2021-05-19T03:32:43.128549Z", + "data": null, + "hostname": "assets-api.automatedbytes.com", + "id": "836a0076e233224ddea40c0a48912634", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2021-05-19T03:32:43.128549Z", + "name": "assets-api", + "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", @@ -1664,7 +1702,7 @@ "schema_version": 1, "attributes": { "created_on": "2021-05-19T02:54:26.930574Z", - "data": null, + "data": {}, "hostname": "assets.automatedbytes.com", "id": "e3a0edc1bd2cfbffb900e7656af71329", "metadata": { @@ -1692,6 +1730,44 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "assets_mesh_automatedbytes", + "provider": "provider[\"registry.terraform.io/cloudflare/cloudflare\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2021-05-19T03:32:42.903823Z", + "data": null, + "hostname": "assets-mesh.automatedbytes.com", + "id": "03c5eda7801dd0d3a3f6ef1c83570d62", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false", + "source": "primary" + }, + "modified_on": "2021-05-19T03:32:42.903823Z", + "name": "assets-mesh", + "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 31361d9..3e00a09 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.14.3", - "serial": 177, + "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",