From 4d32af2b9f509de812901c4c7f1a86d889d8307f Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 15 Jan 2020 09:35:36 -0500 Subject: [PATCH] Updates home IP address --- ahoskingit/terraform/terraform.tfstate | 38 ++++++++++-------- ahoskingit/terraform/terraform.tfstate.backup | 40 ++++++++++++++++++- ahoskingit/terraform/var_homeip.tfvar | 2 +- ahoskingit/terraform/variables.tf | 4 +- 4 files changed, 63 insertions(+), 21 deletions(-) diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 898e5e0..d314df8 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.12.18", - "serial": 78, + "serial": 85, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -516,7 +516,7 @@ "multivalue_answer_routing_policy": null, "name": "home.ahoskingit.ca", "records": [ - "70.27.17.5" + "70.31.147.83" ], "set_identifier": "", "ttl": 5, @@ -524,6 +524,7 @@ "weighted_routing_policy": [], "zone_id": "Z1K67K6B7LVE6O" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "dependencies": [ "aws_route53_zone.ahoskingit_ca" ] @@ -762,7 +763,7 @@ "multivalue_answer_routing_policy": null, "name": "support.automatedbytes.com", "records": [ - "70.27.17.5" + "70.31.147.83" ], "set_identifier": "", "ttl": 5, @@ -770,6 +771,7 @@ "weighted_routing_policy": [], "zone_id": "Z1H1ULBVLBNLL2" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "dependencies": [ "aws_route53_zone.automatedbytes" ] @@ -1355,7 +1357,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2019-10-16T20:57:00.924167Z", + "created_on": "2020-01-15T14:32:51.33409Z", "data": {}, "hostname": "git.ahoskingit.com", "id": "275b11fceee4a282df623ee07b4052eb", @@ -1364,16 +1366,17 @@ "managed_by_apps": "false", "managed_by_argo_tunnel": "false" }, - "modified_on": "2019-10-16T20:57:00.924167Z", + "modified_on": "2020-01-15T14:32:51.33409Z", "name": "git", "priority": 0, "proxiable": true, "proxied": false, "ttl": 1, "type": "A", - "value": "70.27.17.5", + "value": "70.31.147.83", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", "dependencies": [ "cloudflare_zone.ahoskingit_com" ] @@ -1459,7 +1462,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2019-10-16T20:57:00.618795Z", + "created_on": "2020-01-15T14:32:50.903643Z", "data": {}, "hostname": "home.ahoskingit.com", "id": "dafe7c2cfd1d00a6a8115bfaeed572ae", @@ -1468,16 +1471,17 @@ "managed_by_apps": "false", "managed_by_argo_tunnel": "false" }, - "modified_on": "2019-10-16T20:57:00.618795Z", + "modified_on": "2020-01-15T14:32:50.903643Z", "name": "home", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.27.17.5", + "value": "70.31.147.83", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", "dependencies": [ "cloudflare_zone.ahoskingit_com" ] @@ -1597,7 +1601,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2019-10-16T20:57:00.494642Z", + "created_on": "2020-01-15T14:32:50.726451Z", "data": {}, "hostname": "logs.ahoskingit.com", "id": "7e209dc77cac1ecf00ae79137228478b", @@ -1606,16 +1610,17 @@ "managed_by_apps": "false", "managed_by_argo_tunnel": "false" }, - "modified_on": "2019-10-16T20:57:00.494642Z", + "modified_on": "2020-01-15T14:32:50.726451Z", "name": "logs", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.27.17.5", + "value": "70.31.147.83", "zone_id": "6b3fe5493c79efccf633719ab48ef00f" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", "dependencies": [ "cloudflare_zone.ahoskingit_com" ] @@ -1737,7 +1742,7 @@ "schema_version": 1, "attributes": { "created_on": "2020-01-05T05:35:30.842024Z", - "data": null, + "data": {}, "hostname": "smart.home.ahoskingit.com", "id": "365d7ff78af893befff26e2aa0af417c", "metadata": { @@ -2317,7 +2322,7 @@ { "schema_version": 1, "attributes": { - "created_on": "2019-10-16T21:18:00.996411Z", + "created_on": "2020-01-15T14:32:51.310156Z", "data": {}, "hostname": "support.automatedbytes.com", "id": "da8a433e85dbc7805a86ec622557475a", @@ -2326,16 +2331,17 @@ "managed_by_apps": "false", "managed_by_argo_tunnel": "false" }, - "modified_on": "2019-10-16T21:18:00.996411Z", + "modified_on": "2020-01-15T14:32:51.310156Z", "name": "support", "priority": 0, "proxiable": true, "proxied": true, "ttl": 1, "type": "A", - "value": "70.27.17.5", + "value": "70.31.147.83", "zone_id": "17ce22c4db27214cd0ec8f490fe07404" }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", "dependencies": [ "cloudflare_zone.automatedbytes_com" ] diff --git a/ahoskingit/terraform/terraform.tfstate.backup b/ahoskingit/terraform/terraform.tfstate.backup index 0cdc9de..898e5e0 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "0.12.18", - "serial": 76, + "serial": 78, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "outputs": {}, "resources": [ @@ -1727,6 +1727,42 @@ } ] }, + { + "mode": "managed", + "type": "cloudflare_record", + "name": "smart_home_ahoskingit", + "provider": "provider.cloudflare", + "instances": [ + { + "schema_version": 1, + "attributes": { + "created_on": "2020-01-05T05:35:30.842024Z", + "data": null, + "hostname": "smart.home.ahoskingit.com", + "id": "365d7ff78af893befff26e2aa0af417c", + "metadata": { + "auto_added": "false", + "managed_by_apps": "false", + "managed_by_argo_tunnel": "false" + }, + "modified_on": "2020-01-05T05:35:30.842024Z", + "name": "smart.home", + "priority": 0, + "proxiable": true, + "proxied": true, + "ttl": 1, + "type": "CNAME", + "value": "home.ahoskingit.com", + "zone_id": "6b3fe5493c79efccf633719ab48ef00f" + }, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", + "dependencies": [ + "cloudflare_record.home_ahoskingit", + "cloudflare_zone.ahoskingit_com" + ] + } + ] + }, { "mode": "managed", "type": "cloudflare_record", @@ -2316,7 +2352,7 @@ "schema_version": 1, "attributes": { "created_on": "2020-01-05T05:34:40.383457Z", - "data": null, + "data": {}, "hostname": "temperatures.home.ahoskingit.com", "id": "d8d0dbe76b192ed7536b5772de2d14db", "metadata": { diff --git a/ahoskingit/terraform/var_homeip.tfvar b/ahoskingit/terraform/var_homeip.tfvar index eacc566..bf2f94b 100644 --- a/ahoskingit/terraform/var_homeip.tfvar +++ b/ahoskingit/terraform/var_homeip.tfvar @@ -1 +1 @@ -home_ip = "70.27.17.5" \ No newline at end of file +home_ip = "70.31.147.83" diff --git a/ahoskingit/terraform/variables.tf b/ahoskingit/terraform/variables.tf index ca402c3..7bc6c4d 100644 --- a/ahoskingit/terraform/variables.tf +++ b/ahoskingit/terraform/variables.tf @@ -13,7 +13,7 @@ variable "CLOUDFLARE_ACCOUNT_ID" {} variable "CLOUDFLARE_API_KEY" {} variable "home_ip" { - default = "70.27.17.5" + default = "70.31.147.83" } variable "site5_ip" { @@ -39,4 +39,4 @@ variable "studi-odesign_ca" { default = "studi-odesign.ca"} #variable "vsphere_user" {} #variable "vsphere_password" {} #variable "vsphere_server" {} -variable "environment" {} \ No newline at end of file +variable "environment" {}