Point websites back to the home server

This commit is contained in:
Ahosking 2020-11-25 00:39:55 -05:00
parent c3c1d1bc2b
commit f897f7e3e3
4 changed files with 53 additions and 13 deletions

View File

@ -14,7 +14,7 @@ resource "aws_route53_record" "automatedbytes" {
name = "automatedbytes.com"
type = "A"
ttl = "5"
records = [var.vultr_ip]
records = [var.home_ip]
}
resource "aws_route53_record" "www_automatedbytes" {

View File

@ -16,7 +16,7 @@ resource "cloudflare_record" "studi-o_com_www" {
resource "cloudflare_record" "studi-o_com" {
zone_id = cloudflare_zone.studi-o_com.id
name = "studi-odesigns.com"
value = var.vultr_ip
value = var.home_ip
type = "A"
ttl = 1
proxied = true

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.13.4",
"serial": 131,
"terraform_version": "0.13.5",
"serial": 134,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"outputs": {},
"resources": [
@ -342,7 +342,7 @@
"multivalue_answer_routing_policy": null,
"name": "automatedbytes.com",
"records": [
"45.63.19.159"
"174.93.115.139"
],
"set_identifier": "",
"ttl": 5,
@ -350,6 +350,7 @@
"weighted_routing_policy": [],
"zone_id": "Z1H1ULBVLBNLL2"
},
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"aws_route53_zone.automatedbytes"
]
@ -1234,7 +1235,7 @@
"schema_version": 1,
"attributes": {
"created_on": "2020-10-16T14:42:18.264613Z",
"data": null,
"data": {},
"hostname": "jumbledev.ahoskingit.com",
"id": "2525c3ea9ec080390f1b29d4e0df3e1b",
"metadata": {
@ -2153,7 +2154,7 @@
{
"schema_version": 1,
"attributes": {
"created_on": "2019-06-20T04:38:40.555064Z",
"created_on": "2020-11-25T05:31:35.446278Z",
"data": {},
"hostname": "studi-odesigns.com",
"id": "224e110e8c65cf854917416869ff2692",
@ -2163,7 +2164,7 @@
"managed_by_argo_tunnel": "false",
"source": "primary"
},
"modified_on": "2019-06-20T04:38:40.555064Z",
"modified_on": "2020-11-25T05:31:35.446278Z",
"name": "studi-odesigns.com",
"priority": 0,
"proxiable": true,
@ -2171,9 +2172,10 @@
"timeouts": null,
"ttl": 1,
"type": "A",
"value": "45.63.19.159",
"value": "174.93.115.139",
"zone_id": "48662c59622a201785e89888f5154bd2"
},
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
"dependencies": [
"cloudflare_zone.studi-o_com"
]

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.13.4",
"serial": 129,
"terraform_version": "0.13.5",
"serial": 131,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"outputs": {},
"resources": [
@ -1224,6 +1224,44 @@
}
]
},
{
"mode": "managed",
"type": "cloudflare_record",
"name": "ahoskingit_jumbledev",
"provider": "provider[\"registry.terraform.io/terraform-providers/cloudflare\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"created_on": "2020-10-16T14:42:18.264613Z",
"data": null,
"hostname": "jumbledev.ahoskingit.com",
"id": "2525c3ea9ec080390f1b29d4e0df3e1b",
"metadata": {
"auto_added": "false",
"managed_by_apps": "false",
"managed_by_argo_tunnel": "false",
"source": "primary"
},
"modified_on": "2020-10-16T14:42:18.264613Z",
"name": "jumbledev.ahoskingit.com",
"priority": 0,
"proxiable": true,
"proxied": true,
"timeouts": null,
"ttl": 1,
"type": "CNAME",
"value": "home.ahoskingit.com",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f"
},
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
"dependencies": [
"cloudflare_record.home_ahoskingit",
"cloudflare_zone.ahoskingit_com"
]
}
]
},
{
"mode": "managed",
"type": "cloudflare_record",