Updates home IP address

This commit is contained in:
Alexander Hosking 2020-01-15 09:35:36 -05:00
parent 7b62993819
commit 4d32af2b9f
4 changed files with 63 additions and 21 deletions

View File

@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "0.12.18", "terraform_version": "0.12.18",
"serial": 78, "serial": 85,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@ -516,7 +516,7 @@
"multivalue_answer_routing_policy": null, "multivalue_answer_routing_policy": null,
"name": "home.ahoskingit.ca", "name": "home.ahoskingit.ca",
"records": [ "records": [
"70.27.17.5" "70.31.147.83"
], ],
"set_identifier": "", "set_identifier": "",
"ttl": 5, "ttl": 5,
@ -524,6 +524,7 @@
"weighted_routing_policy": [], "weighted_routing_policy": [],
"zone_id": "Z1K67K6B7LVE6O" "zone_id": "Z1K67K6B7LVE6O"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [ "dependencies": [
"aws_route53_zone.ahoskingit_ca" "aws_route53_zone.ahoskingit_ca"
] ]
@ -762,7 +763,7 @@
"multivalue_answer_routing_policy": null, "multivalue_answer_routing_policy": null,
"name": "support.automatedbytes.com", "name": "support.automatedbytes.com",
"records": [ "records": [
"70.27.17.5" "70.31.147.83"
], ],
"set_identifier": "", "set_identifier": "",
"ttl": 5, "ttl": 5,
@ -770,6 +771,7 @@
"weighted_routing_policy": [], "weighted_routing_policy": [],
"zone_id": "Z1H1ULBVLBNLL2" "zone_id": "Z1H1ULBVLBNLL2"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [ "dependencies": [
"aws_route53_zone.automatedbytes" "aws_route53_zone.automatedbytes"
] ]
@ -1355,7 +1357,7 @@
{ {
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2019-10-16T20:57:00.924167Z", "created_on": "2020-01-15T14:32:51.33409Z",
"data": {}, "data": {},
"hostname": "git.ahoskingit.com", "hostname": "git.ahoskingit.com",
"id": "275b11fceee4a282df623ee07b4052eb", "id": "275b11fceee4a282df623ee07b4052eb",
@ -1364,16 +1366,17 @@
"managed_by_apps": "false", "managed_by_apps": "false",
"managed_by_argo_tunnel": "false" "managed_by_argo_tunnel": "false"
}, },
"modified_on": "2019-10-16T20:57:00.924167Z", "modified_on": "2020-01-15T14:32:51.33409Z",
"name": "git", "name": "git",
"priority": 0, "priority": 0,
"proxiable": true, "proxiable": true,
"proxied": false, "proxied": false,
"ttl": 1, "ttl": 1,
"type": "A", "type": "A",
"value": "70.27.17.5", "value": "70.31.147.83",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f" "zone_id": "6b3fe5493c79efccf633719ab48ef00f"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [ "dependencies": [
"cloudflare_zone.ahoskingit_com" "cloudflare_zone.ahoskingit_com"
] ]
@ -1459,7 +1462,7 @@
{ {
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2019-10-16T20:57:00.618795Z", "created_on": "2020-01-15T14:32:50.903643Z",
"data": {}, "data": {},
"hostname": "home.ahoskingit.com", "hostname": "home.ahoskingit.com",
"id": "dafe7c2cfd1d00a6a8115bfaeed572ae", "id": "dafe7c2cfd1d00a6a8115bfaeed572ae",
@ -1468,16 +1471,17 @@
"managed_by_apps": "false", "managed_by_apps": "false",
"managed_by_argo_tunnel": "false" "managed_by_argo_tunnel": "false"
}, },
"modified_on": "2019-10-16T20:57:00.618795Z", "modified_on": "2020-01-15T14:32:50.903643Z",
"name": "home", "name": "home",
"priority": 0, "priority": 0,
"proxiable": true, "proxiable": true,
"proxied": true, "proxied": true,
"ttl": 1, "ttl": 1,
"type": "A", "type": "A",
"value": "70.27.17.5", "value": "70.31.147.83",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f" "zone_id": "6b3fe5493c79efccf633719ab48ef00f"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [ "dependencies": [
"cloudflare_zone.ahoskingit_com" "cloudflare_zone.ahoskingit_com"
] ]
@ -1597,7 +1601,7 @@
{ {
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2019-10-16T20:57:00.494642Z", "created_on": "2020-01-15T14:32:50.726451Z",
"data": {}, "data": {},
"hostname": "logs.ahoskingit.com", "hostname": "logs.ahoskingit.com",
"id": "7e209dc77cac1ecf00ae79137228478b", "id": "7e209dc77cac1ecf00ae79137228478b",
@ -1606,16 +1610,17 @@
"managed_by_apps": "false", "managed_by_apps": "false",
"managed_by_argo_tunnel": "false" "managed_by_argo_tunnel": "false"
}, },
"modified_on": "2019-10-16T20:57:00.494642Z", "modified_on": "2020-01-15T14:32:50.726451Z",
"name": "logs", "name": "logs",
"priority": 0, "priority": 0,
"proxiable": true, "proxiable": true,
"proxied": true, "proxied": true,
"ttl": 1, "ttl": 1,
"type": "A", "type": "A",
"value": "70.27.17.5", "value": "70.31.147.83",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f" "zone_id": "6b3fe5493c79efccf633719ab48ef00f"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [ "dependencies": [
"cloudflare_zone.ahoskingit_com" "cloudflare_zone.ahoskingit_com"
] ]
@ -1737,7 +1742,7 @@
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2020-01-05T05:35:30.842024Z", "created_on": "2020-01-05T05:35:30.842024Z",
"data": null, "data": {},
"hostname": "smart.home.ahoskingit.com", "hostname": "smart.home.ahoskingit.com",
"id": "365d7ff78af893befff26e2aa0af417c", "id": "365d7ff78af893befff26e2aa0af417c",
"metadata": { "metadata": {
@ -2317,7 +2322,7 @@
{ {
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2019-10-16T21:18:00.996411Z", "created_on": "2020-01-15T14:32:51.310156Z",
"data": {}, "data": {},
"hostname": "support.automatedbytes.com", "hostname": "support.automatedbytes.com",
"id": "da8a433e85dbc7805a86ec622557475a", "id": "da8a433e85dbc7805a86ec622557475a",
@ -2326,16 +2331,17 @@
"managed_by_apps": "false", "managed_by_apps": "false",
"managed_by_argo_tunnel": "false" "managed_by_argo_tunnel": "false"
}, },
"modified_on": "2019-10-16T21:18:00.996411Z", "modified_on": "2020-01-15T14:32:51.310156Z",
"name": "support", "name": "support",
"priority": 0, "priority": 0,
"proxiable": true, "proxiable": true,
"proxied": true, "proxied": true,
"ttl": 1, "ttl": 1,
"type": "A", "type": "A",
"value": "70.27.17.5", "value": "70.31.147.83",
"zone_id": "17ce22c4db27214cd0ec8f490fe07404" "zone_id": "17ce22c4db27214cd0ec8f490fe07404"
}, },
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [ "dependencies": [
"cloudflare_zone.automatedbytes_com" "cloudflare_zone.automatedbytes_com"
] ]

View File

@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "0.12.18", "terraform_version": "0.12.18",
"serial": 76, "serial": 78,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"outputs": {}, "outputs": {},
"resources": [ "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", "mode": "managed",
"type": "cloudflare_record", "type": "cloudflare_record",
@ -2316,7 +2352,7 @@
"schema_version": 1, "schema_version": 1,
"attributes": { "attributes": {
"created_on": "2020-01-05T05:34:40.383457Z", "created_on": "2020-01-05T05:34:40.383457Z",
"data": null, "data": {},
"hostname": "temperatures.home.ahoskingit.com", "hostname": "temperatures.home.ahoskingit.com",
"id": "d8d0dbe76b192ed7536b5772de2d14db", "id": "d8d0dbe76b192ed7536b5772de2d14db",
"metadata": { "metadata": {

View File

@ -1 +1 @@
home_ip = "70.27.17.5" home_ip = "70.31.147.83"

View File

@ -13,7 +13,7 @@ variable "CLOUDFLARE_ACCOUNT_ID" {}
variable "CLOUDFLARE_API_KEY" {} variable "CLOUDFLARE_API_KEY" {}
variable "home_ip" { variable "home_ip" {
default = "70.27.17.5" default = "70.31.147.83"
} }
variable "site5_ip" { variable "site5_ip" {