Update git DNS to ensure connectivity

This commit is contained in:
Alexander Hosking 2019-06-14 23:56:57 -04:00
parent 648bbdf626
commit 06cf03cab8
3 changed files with 53 additions and 20 deletions

View File

@ -144,9 +144,9 @@ resource "cloudflare_record" "support_ahoskingit" {
resource "cloudflare_record" "git_ahoskingit" { resource "cloudflare_record" "git_ahoskingit" {
domain = "${cloudflare_zone.ahoskingit_com.zone}" domain = "${cloudflare_zone.ahoskingit_com.zone}"
name = "git" name = "git"
type = "CNAME" type = "A"
proxied = true value = "${var.home_ip}"
value = "${cloudflare_record.home_ahoskingit.name}.${cloudflare_zone.ahoskingit_com.zone}" #proxied = "true"
} }
resource "cloudflare_record" "gitlab_ahoskingit" { resource "cloudflare_record" "gitlab_ahoskingit" {

View File

@ -1,7 +1,7 @@
{ {
"version": 3, "version": 3,
"terraform_version": "0.11.11", "terraform_version": "0.11.11",
"serial": 56, "serial": 58,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"modules": [ "modules": [
{ {
@ -1152,29 +1152,28 @@
"cloudflare_record.git_ahoskingit": { "cloudflare_record.git_ahoskingit": {
"type": "cloudflare_record", "type": "cloudflare_record",
"depends_on": [ "depends_on": [
"cloudflare_record.home_ahoskingit",
"cloudflare_zone.ahoskingit_com" "cloudflare_zone.ahoskingit_com"
], ],
"primary": { "primary": {
"id": "f29066b1f65d88b8f511c517fa842c6e", "id": "382ecfc0a65c07da256d93cbb65d3ea9",
"attributes": { "attributes": {
"created_on": "2019-06-14T02:59:40.117499Z", "created_on": "2019-06-15T03:54:58.386976Z",
"data.%": "0", "data.%": "0",
"domain": "ahoskingit.com", "domain": "ahoskingit.com",
"hostname": "git.ahoskingit.com", "hostname": "git.ahoskingit.com",
"id": "f29066b1f65d88b8f511c517fa842c6e", "id": "382ecfc0a65c07da256d93cbb65d3ea9",
"metadata.%": "3", "metadata.%": "3",
"metadata.auto_added": "false", "metadata.auto_added": "false",
"metadata.managed_by_apps": "false", "metadata.managed_by_apps": "false",
"metadata.managed_by_argo_tunnel": "false", "metadata.managed_by_argo_tunnel": "false",
"modified_on": "2019-06-14T02:59:40.117499Z", "modified_on": "2019-06-15T03:54:58.386976Z",
"name": "git", "name": "git",
"priority": "0", "priority": "0",
"proxiable": "true", "proxiable": "true",
"proxied": "true", "proxied": "false",
"ttl": "1", "ttl": "1",
"type": "CNAME", "type": "A",
"value": "home.ahoskingit.com", "value": "99.240.201.161",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f" "zone_id": "6b3fe5493c79efccf633719ab48ef00f"
}, },
"meta": { "meta": {

View File

@ -1,7 +1,7 @@
{ {
"version": 3, "version": 3,
"terraform_version": "0.11.11", "terraform_version": "0.11.11",
"serial": 56, "serial": 58,
"lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5",
"modules": [ "modules": [
{ {
@ -941,6 +941,41 @@
"deposed": [], "deposed": [],
"provider": "provider.cloudflare" "provider": "provider.cloudflare"
}, },
"cloudflare_record.ahoskingit_com_txt": {
"type": "cloudflare_record",
"depends_on": [
"cloudflare_zone.ahoskingit_com"
],
"primary": {
"id": "371bdde12dc2ac615f70ddd95304fcda",
"attributes": {
"created_on": "2019-06-14T03:15:32.385907Z",
"data.%": "0",
"domain": "ahoskingit.com",
"hostname": "ahoskingit.com",
"id": "371bdde12dc2ac615f70ddd95304fcda",
"metadata.%": "3",
"metadata.auto_added": "false",
"metadata.managed_by_apps": "false",
"metadata.managed_by_argo_tunnel": "false",
"modified_on": "2019-06-14T03:15:32.385907Z",
"name": "ahoskingit.com",
"priority": "0",
"proxiable": "false",
"proxied": "false",
"ttl": "120",
"type": "TXT",
"value": "google-site-verification=8-QKnBQElI58gnygDWcCzvDGRh31c_bFmNMaSd0fCwE",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f"
},
"meta": {
"schema_version": "1"
},
"tainted": false
},
"deposed": [],
"provider": "provider.cloudflare"
},
"cloudflare_record.ahoskingit_influx": { "cloudflare_record.ahoskingit_influx": {
"type": "cloudflare_record", "type": "cloudflare_record",
"depends_on": [], "depends_on": [],
@ -1117,29 +1152,28 @@
"cloudflare_record.git_ahoskingit": { "cloudflare_record.git_ahoskingit": {
"type": "cloudflare_record", "type": "cloudflare_record",
"depends_on": [ "depends_on": [
"cloudflare_record.home_ahoskingit",
"cloudflare_zone.ahoskingit_com" "cloudflare_zone.ahoskingit_com"
], ],
"primary": { "primary": {
"id": "f29066b1f65d88b8f511c517fa842c6e", "id": "382ecfc0a65c07da256d93cbb65d3ea9",
"attributes": { "attributes": {
"created_on": "2019-06-14T02:59:40.117499Z", "created_on": "2019-06-14T03:39:52.471569Z",
"data.%": "0", "data.%": "0",
"domain": "ahoskingit.com", "domain": "ahoskingit.com",
"hostname": "git.ahoskingit.com", "hostname": "git.ahoskingit.com",
"id": "f29066b1f65d88b8f511c517fa842c6e", "id": "382ecfc0a65c07da256d93cbb65d3ea9",
"metadata.%": "3", "metadata.%": "3",
"metadata.auto_added": "false", "metadata.auto_added": "false",
"metadata.managed_by_apps": "false", "metadata.managed_by_apps": "false",
"metadata.managed_by_argo_tunnel": "false", "metadata.managed_by_argo_tunnel": "false",
"modified_on": "2019-06-14T02:59:40.117499Z", "modified_on": "2019-06-14T03:39:52.471569Z",
"name": "git", "name": "git",
"priority": "0", "priority": "0",
"proxiable": "true", "proxiable": "true",
"proxied": "true", "proxied": "true",
"ttl": "1", "ttl": "1",
"type": "CNAME", "type": "A",
"value": "home.ahoskingit.com", "value": "99.240.201.161",
"zone_id": "6b3fe5493c79efccf633719ab48ef00f" "zone_id": "6b3fe5493c79efccf633719ab48ef00f"
}, },
"meta": { "meta": {