diff --git a/ahoskingit/terraform/dns_studi-odesigns.tf b/ahoskingit/terraform/dns_studi-odesigns.tf index 848595d..3668396 100644 --- a/ahoskingit/terraform/dns_studi-odesigns.tf +++ b/ahoskingit/terraform/dns_studi-odesigns.tf @@ -8,9 +8,18 @@ resource "cloudflare_zone" "studi-o_ca" { resource "cloudflare_record" "studi-o_com_www" { domain = "${var.studi-odesigns_com}" name = "www" - value = "automatedbytes.com" + value = "${var.studi-odesigns_com}" type = "CNAME" - ttl = 3600 + ttl = 1 + proxied = true +} +resource "cloudflare_record" "studi-o_com" { + domain = "${var.studi-odesigns_com}" + name = "studi-odesigns.com" + value = "${var.vultr_ip}" + type = "A" + ttl = 1 + proxied = true } resource "cloudflare_record" "studi-o_com_txt" { diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 89b5ca8..40cd0b1 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 3, "terraform_version": "0.11.11", - "serial": 58, + "serial": 64, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "modules": [ { @@ -1772,6 +1772,39 @@ "deposed": [], "provider": "provider.cloudflare" }, + "cloudflare_record.studi-o_com": { + "type": "cloudflare_record", + "depends_on": [], + "primary": { + "id": "224e110e8c65cf854917416869ff2692", + "attributes": { + "created_on": "2019-06-20T04:38:40.555064Z", + "data.%": "0", + "domain": "studi-odesigns.com", + "hostname": "studi-odesigns.com", + "id": "224e110e8c65cf854917416869ff2692", + "metadata.%": "3", + "metadata.auto_added": "false", + "metadata.managed_by_apps": "false", + "metadata.managed_by_argo_tunnel": "false", + "modified_on": "2019-06-20T04:38:40.555064Z", + "name": "studi-odesigns.com", + "priority": "0", + "proxiable": "true", + "proxied": "true", + "ttl": "1", + "type": "A", + "value": "45.63.19.159", + "zone_id": "48662c59622a201785e89888f5154bd2" + }, + "meta": { + "schema_version": "1" + }, + "tainted": false + }, + "deposed": [], + "provider": "provider.cloudflare" + }, "cloudflare_record.studi-o_com_mx": { "type": "cloudflare_record", "depends_on": [], @@ -1974,25 +2007,25 @@ "type": "cloudflare_record", "depends_on": [], "primary": { - "id": "dffb6136dfcf23dc28134186eff088a3", + "id": "616f3f5fc8b2c584cf64ddd5445cc98f", "attributes": { - "created_on": "2019-06-10T03:26:48.868647Z", + "created_on": "2019-06-20T04:39:22.658253Z", "data.%": "0", "domain": "studi-odesigns.com", "hostname": "www.studi-odesigns.com", - "id": "dffb6136dfcf23dc28134186eff088a3", + "id": "616f3f5fc8b2c584cf64ddd5445cc98f", "metadata.%": "3", "metadata.auto_added": "false", "metadata.managed_by_apps": "false", "metadata.managed_by_argo_tunnel": "false", - "modified_on": "2019-06-10T03:26:48.868647Z", + "modified_on": "2019-06-20T04:39:22.658253Z", "name": "www", "priority": "0", "proxiable": "true", - "proxied": "false", - "ttl": "3600", + "proxied": "true", + "ttl": "1", "type": "CNAME", - "value": "automatedbytes.com", + "value": "studi-odesigns.com", "zone_id": "48662c59622a201785e89888f5154bd2" }, "meta": { diff --git a/ahoskingit/terraform/terraform.tfstate.backup b/ahoskingit/terraform/terraform.tfstate.backup index 6f620d2..86bc5fe 100755 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 3, "terraform_version": "0.11.11", - "serial": 58, + "serial": 64, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "modules": [ { @@ -1157,7 +1157,7 @@ "primary": { "id": "382ecfc0a65c07da256d93cbb65d3ea9", "attributes": { - "created_on": "2019-06-14T03:39:52.471569Z", + "created_on": "2019-06-15T03:54:58.386976Z", "data.%": "0", "domain": "ahoskingit.com", "hostname": "git.ahoskingit.com", @@ -1166,11 +1166,11 @@ "metadata.auto_added": "false", "metadata.managed_by_apps": "false", "metadata.managed_by_argo_tunnel": "false", - "modified_on": "2019-06-14T03:39:52.471569Z", + "modified_on": "2019-06-15T03:54:58.386976Z", "name": "git", "priority": "0", "proxiable": "true", - "proxied": "true", + "proxied": "false", "ttl": "1", "type": "A", "value": "99.240.201.161", @@ -1772,6 +1772,39 @@ "deposed": [], "provider": "provider.cloudflare" }, + "cloudflare_record.studi-o_com": { + "type": "cloudflare_record", + "depends_on": [], + "primary": { + "id": "224e110e8c65cf854917416869ff2692", + "attributes": { + "created_on": "2019-06-20T04:38:40.555064Z", + "data.%": "0", + "domain": "studi-odesigns.com", + "hostname": "studi-odesigns.com", + "id": "224e110e8c65cf854917416869ff2692", + "metadata.%": "3", + "metadata.auto_added": "false", + "metadata.managed_by_apps": "false", + "metadata.managed_by_argo_tunnel": "false", + "modified_on": "2019-06-20T04:38:40.555064Z", + "name": "studi-odesigns.com", + "priority": "0", + "proxiable": "true", + "proxied": "true", + "ttl": "1", + "type": "A", + "value": "45.63.19.159", + "zone_id": "48662c59622a201785e89888f5154bd2" + }, + "meta": { + "schema_version": "1" + }, + "tainted": false + }, + "deposed": [], + "provider": "provider.cloudflare" + }, "cloudflare_record.studi-o_com_mx": { "type": "cloudflare_record", "depends_on": [], @@ -1974,25 +2007,25 @@ "type": "cloudflare_record", "depends_on": [], "primary": { - "id": "dffb6136dfcf23dc28134186eff088a3", + "id": "616f3f5fc8b2c584cf64ddd5445cc98f", "attributes": { - "created_on": "2019-06-10T03:26:48.868647Z", + "created_on": "2019-06-20T04:37:05.804226Z", "data.%": "0", "domain": "studi-odesigns.com", "hostname": "www.studi-odesigns.com", - "id": "dffb6136dfcf23dc28134186eff088a3", + "id": "616f3f5fc8b2c584cf64ddd5445cc98f", "metadata.%": "3", "metadata.auto_added": "false", "metadata.managed_by_apps": "false", "metadata.managed_by_argo_tunnel": "false", - "modified_on": "2019-06-10T03:26:48.868647Z", + "modified_on": "2019-06-20T04:37:05.804226Z", "name": "www", "priority": "0", "proxiable": "true", "proxied": "false", - "ttl": "3600", + "ttl": "120", "type": "CNAME", - "value": "automatedbytes.com", + "value": "studi-odesigns.com", "zone_id": "48662c59622a201785e89888f5154bd2" }, "meta": {