diff --git a/ahoskingit/terraform/dns_ahoskingit.tf b/ahoskingit/terraform/dns_ahoskingit.tf index 2a30b3d..588f2a0 100644 --- a/ahoskingit/terraform/dns_ahoskingit.tf +++ b/ahoskingit/terraform/dns_ahoskingit.tf @@ -29,6 +29,14 @@ resource "aws_route53_record" "home_ahoskingit" { records = ["${var.home_ip}"] } +resource "aws_route53_record" "baby_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "baby.ahoskingit.com" + type = "A" + ttl = "5" + records = ["${var.home_ip}"] +} + resource "aws_route53_record" "kfa_ahoskingit" { zone_id = "${aws_route53_zone.ahoskingit.zone_id}" name = "kfa.ahoskingit.com" @@ -85,6 +93,14 @@ resource "aws_route53_record" "cloud_ahoskingit" { records = ["${aws_route53_record.home_ahoskingit.name}"] } +resource "aws_route53_record" "office_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "office.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + resource "aws_route53_record" "support_ahoskingit" { zone_id = "${aws_route53_zone.ahoskingit.zone_id}" name = "support.ahoskingit.com" diff --git a/ahoskingit/terraform/dns_automatedbytes.tf b/ahoskingit/terraform/dns_automatedbytes.tf index 9f3aaeb..acbf2fa 100644 --- a/ahoskingit/terraform/dns_automatedbytes.tf +++ b/ahoskingit/terraform/dns_automatedbytes.tf @@ -1,61 +1,61 @@ -#Terraform and its management of DNS in route53 -### automatedbytes.com -#Setup the domain in route53 -resource "aws_route53_zone" "automatedbytes" { - name = "automatedbytes.com" -} - -#Route53 DNS entry -resource "aws_route53_record" "automatedbytes" { - zone_id = "${aws_route53_zone.automatedbytes.zone_id}" - name = "automatedbytes.com" - type = "A" - ttl = "5" - records = ["${var.home_ip}"] -} - -resource "aws_route53_record" "www_automatedbytes" { - zone_id = "${aws_route53_zone.automatedbytes.zone_id}" - name = "www.automatedbytes.com" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.automatedbytes.name}"] -} - -resource "aws_route53_record" "wildcard_automatedbytes" { - zone_id = "${aws_route53_zone.automatedbytes.zone_id}" - name = "*.automatedbytes.com" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.automatedbytes.name}"] -} - -### automatedbytes.ca -#Setup the domain in route53 -resource "aws_route53_zone" "automatedbytes_ca" { - name = "automatedbytes.ca" -} - -resource "aws_route53_record" "automatedbytes_ca" { - zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" - name = "automatedbytes.ca" - type = "A" - ttl = "5" - records = ["${var.home_ip}"] -} - -resource "aws_route53_record" "www_automatedbytes_ca" { - zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" - name = "www.automatedbytes.ca" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.automatedbytes_ca.name}"] -} - -resource "aws_route53_record" "wildcard_automatedbytes_ca" { - zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" - name = "*.automatedbytes.ca" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.automatedbytes_ca.name}"] -} +##Terraform and its management of DNS in route53 +#### automatedbytes.com +##Setup the domain in route53 +#resource "aws_route53_zone" "automatedbytes" { +# name = "automatedbytes.com" +#} +# +##Route53 DNS entry +#resource "aws_route53_record" "automatedbytes" { +# zone_id = "${aws_route53_zone.automatedbytes.zone_id}" +# name = "automatedbytes.com" +# type = "A" +# ttl = "5" +# records = ["${var.home_ip}"] +#} +# +#resource "aws_route53_record" "www_automatedbytes" { +# zone_id = "${aws_route53_zone.automatedbytes.zone_id}" +# name = "www.automatedbytes.com" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.automatedbytes.name}"] +#} +# +#resource "aws_route53_record" "wildcard_automatedbytes" { +# zone_id = "${aws_route53_zone.automatedbytes.zone_id}" +# name = "*.automatedbytes.com" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.automatedbytes.name}"] +#} +# +#### automatedbytes.ca +##Setup the domain in route53 +#resource "aws_route53_zone" "automatedbytes_ca" { +# name = "automatedbytes.ca" +#} +# +#resource "aws_route53_record" "automatedbytes_ca" { +# zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" +# name = "automatedbytes.ca" +# type = "A" +# ttl = "5" +# records = ["${var.home_ip}"] +#} +# +#resource "aws_route53_record" "www_automatedbytes_ca" { +# zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" +# name = "www.automatedbytes.ca" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.automatedbytes_ca.name}"] +#} +# +#resource "aws_route53_record" "wildcard_automatedbytes_ca" { +# zone_id = "${aws_route53_zone.automatedbytes_ca.zone_id}" +# name = "*.automatedbytes.ca" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.automatedbytes_ca.name}"] +#} diff --git a/ahoskingit/terraform/dns_hivebytes.tf b/ahoskingit/terraform/dns_hivebytes.tf index bf98879..42ceeec 100644 --- a/ahoskingit/terraform/dns_hivebytes.tf +++ b/ahoskingit/terraform/dns_hivebytes.tf @@ -1,15 +1,15 @@ -#Terraform and its management of DNS in route53 - -#Setup the domain in route53 -resource "aws_route53_zone" "hivebytes" { - name = "hivebytes.com" -} - -#Route53 DNS entry -resource "aws_route53_record" "www_hivebytes" { - zone_id = "${aws_route53_zone.hivebytes.zone_id}" - name = "www.hivebytes.com" - type = "A" - ttl = "5" - records = ["${var.home_ip}"] -} +##Terraform and its management of DNS in route53 +# +##Setup the domain in route53 +#resource "aws_route53_zone" "hivebytes" { +# name = "hivebytes.com" +#} +# +##Route53 DNS entry +#resource "aws_route53_record" "www_hivebytes" { +# zone_id = "${aws_route53_zone.hivebytes.zone_id}" +# name = "www.hivebytes.com" +# type = "A" +# ttl = "5" +# records = ["${var.home_ip}"] +#} diff --git a/ahoskingit/terraform/dns_itautomata.tf b/ahoskingit/terraform/dns_itautomata.tf index 705a72e..f2385f4 100644 --- a/ahoskingit/terraform/dns_itautomata.tf +++ b/ahoskingit/terraform/dns_itautomata.tf @@ -1,61 +1,61 @@ -#Terraform and its management of DNS in route53 -### ITAutomata.com -#Setup the domain in route53 -resource "aws_route53_zone" "itautomata" { - name = "itautomata.com" -} - -#Route53 DNS entry -resource "aws_route53_record" "itautomata" { - zone_id = "${aws_route53_zone.itautomata.zone_id}" - name = "itautomata.com" - type = "A" - ttl = "5" - records = ["${var.home_ip}"] -} - -resource "aws_route53_record" "www_itautomata" { - zone_id = "${aws_route53_zone.itautomata.zone_id}" - name = "www.itautomata.com" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.itautomata_ca.name}"] -} - -resource "aws_route53_record" "wildcard_itautomata" { - zone_id = "${aws_route53_zone.itautomata.zone_id}" - name = "*.itautomata.com" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.itautomata_ca.name}"] -} - -### ITAutomata.ca -#Setup the domain in route53 -resource "aws_route53_zone" "itautomata_ca" { - name = "itautomata.ca" -} - -resource "aws_route53_record" "itautomata_ca" { - zone_id = "${aws_route53_zone.itautomata.zone_id}" - name = "itautomata.ca" - type = "A" - ttl = "5" - records = ["${var.home_ip}"] -} - -resource "aws_route53_record" "www_itautomata_ca" { - zone_id = "${aws_route53_zone.itautomata_ca.zone_id}" - name = "www.itautomata.ca" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.itautomata_ca.name}"] -} - -resource "aws_route53_record" "wildcard_itautomata_ca" { - zone_id = "${aws_route53_zone.itautomata.zone_id}" - name = "*.itautomata.ca" - type = "CNAME" - ttl = "5" - records = ["${aws_route53_record.itautomata_ca.name}"] -} +##Terraform and its management of DNS in route53 +#### ITAutomata.com +##Setup the domain in route53 +#resource "aws_route53_zone" "itautomata" { +# name = "itautomata.com" +#} +# +##Route53 DNS entry +#resource "aws_route53_record" "itautomata" { +# zone_id = "${aws_route53_zone.itautomata.zone_id}" +# name = "itautomata.com" +# type = "A" +# ttl = "5" +# records = ["${var.home_ip}"] +#} +# +#resource "aws_route53_record" "www_itautomata" { +# zone_id = "${aws_route53_zone.itautomata.zone_id}" +# name = "www.itautomata.com" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.itautomata_ca.name}"] +#} +# +#resource "aws_route53_record" "wildcard_itautomata" { +# zone_id = "${aws_route53_zone.itautomata.zone_id}" +# name = "*.itautomata.com" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.itautomata_ca.name}"] +#} +# +#### ITAutomata.ca +##Setup the domain in route53 +#resource "aws_route53_zone" "itautomata_ca" { +# name = "itautomata.ca" +#} +# +#resource "aws_route53_record" "itautomata_ca" { +# zone_id = "${aws_route53_zone.itautomata.zone_id}" +# name = "itautomata.ca" +# type = "A" +# ttl = "5" +# records = ["${var.home_ip}"] +#} +# +#resource "aws_route53_record" "www_itautomata_ca" { +# zone_id = "${aws_route53_zone.itautomata_ca.zone_id}" +# name = "www.itautomata.ca" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.itautomata_ca.name}"] +#} +# +#resource "aws_route53_record" "wildcard_itautomata_ca" { +# zone_id = "${aws_route53_zone.itautomata.zone_id}" +# name = "*.itautomata.ca" +# type = "CNAME" +# ttl = "5" +# records = ["${aws_route53_record.itautomata_ca.name}"] +#} diff --git a/ahoskingit/terraform/terraform.tfstate b/ahoskingit/terraform/terraform.tfstate index 5ba3318..769de26 100644 --- a/ahoskingit/terraform/terraform.tfstate +++ b/ahoskingit/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 3, - "terraform_version": "0.8.5", - "serial": 10, + "terraform_version": "0.8.8", + "serial": 13, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "modules": [ { @@ -23,7 +23,7 @@ "id": "Z1OR5RX3464I7O_ahosking.com_A", "name": "ahosking.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -82,7 +82,7 @@ "id": "Z1OR5RX3464I7O_*.ahosking.com_A", "name": "*.ahosking.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -137,7 +137,7 @@ "id": "Z2HTSYFXB5HXD9_ahoskingit.com_A", "name": "ahoskingit.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -164,7 +164,7 @@ "id": "Z1K67K6B7LVE6O_ahoskingit.ca_A", "name": "ahoskingit.ca", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -354,51 +354,24 @@ "deposed": [], "provider": "" }, - "aws_route53_record.automatedbytes": { + "aws_route53_record.baby_ahoskingit": { "type": "aws_route53_record", "depends_on": [ - "aws_route53_zone.automatedbytes" + "aws_route53_zone.ahoskingit" ], "primary": { - "id": "Z215X2J1G0MLJD_automatedbytes.com_A", + "id": "Z2HTSYFXB5HXD9_baby.ahoskingit.com_A", "attributes": { - "fqdn": "automatedbytes.com", + "fqdn": "baby.ahoskingit.com", "health_check_id": "", - "id": "Z215X2J1G0MLJD_automatedbytes.com_A", - "name": "automatedbytes.com", + "id": "Z2HTSYFXB5HXD9_baby.ahoskingit.com_A", + "name": "baby.ahoskingit.com", "records.#": "1", "records.2764920476": "174.114.190.249", "set_identifier": "", "ttl": "5", "type": "A", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_automatedbytes.ca_A", - "attributes": { - "fqdn": "automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_automatedbytes.ca_A", - "name": "automatedbytes.ca", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z1HBWU4GPUM2C" + "zone_id": "Z2HTSYFXB5HXD9" }, "meta": { "schema_version": "2" @@ -742,60 +715,6 @@ "deposed": [], "provider": "" }, - "aws_route53_record.itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_itautomata.com_A", - "attributes": { - "fqdn": "itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_itautomata.com_A", - "name": "itautomata.com", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_itautomata.ca_A", - "attributes": { - "fqdn": "itautomata.ca.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_itautomata.ca_A", - "name": "itautomata.ca", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, "aws_route53_record.kfa_ahoskingit": { "type": "aws_route53_record", "depends_on": [ @@ -907,6 +826,34 @@ "deposed": [], "provider": "" }, + "aws_route53_record.office_ahoskingit": { + "type": "aws_route53_record", + "depends_on": [ + "aws_route53_record.home_ahoskingit", + "aws_route53_zone.ahoskingit" + ], + "primary": { + "id": "Z2HTSYFXB5HXD9_office.ahoskingit.com_CNAME", + "attributes": { + "fqdn": "office.ahoskingit.com", + "health_check_id": "", + "id": "Z2HTSYFXB5HXD9_office.ahoskingit.com_CNAME", + "name": "office.ahoskingit.com", + "records.#": "1", + "records.1011144593": "home.ahoskingit.com", + "set_identifier": "", + "ttl": "5", + "type": "CNAME", + "zone_id": "Z2HTSYFXB5HXD9" + }, + "meta": { + "schema_version": "2" + }, + "tainted": false + }, + "deposed": [], + "provider": "" + }, "aws_route53_record.plex_ahoskingit": { "type": "aws_route53_record", "depends_on": [ @@ -1019,257 +966,6 @@ "deposed": [], "provider": "" }, - "aws_route53_record.wildcard_automatedbytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes", - "aws_route53_zone.automatedbytes" - ], - "primary": { - "id": "Z215X2J1G0MLJD_*.automatedbytes.com_CNAME", - "attributes": { - "fqdn": "*.automatedbytes.com", - "health_check_id": "", - "id": "Z215X2J1G0MLJD_*.automatedbytes.com_CNAME", - "name": "*.automatedbytes.com", - "records.#": "1", - "records.805578271": "automatedbytes.com", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes_ca", - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_*.automatedbytes.ca_CNAME", - "attributes": { - "fqdn": "*.automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_*.automatedbytes.ca_CNAME", - "name": "*.automatedbytes.ca", - "records.#": "1", - "records.1493937059": "automatedbytes.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_*.itautomata.com_CNAME", - "attributes": { - "fqdn": "*.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_*.itautomata.com_CNAME", - "name": "*.itautomata.com", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_*.itautomata.ca_CNAME", - "attributes": { - "fqdn": "*.itautomata.ca.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_*.itautomata.ca_CNAME", - "name": "*.itautomata.ca", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_automatedbytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes", - "aws_route53_zone.automatedbytes" - ], - "primary": { - "id": "Z215X2J1G0MLJD_www.automatedbytes.com_CNAME", - "attributes": { - "fqdn": "www.automatedbytes.com", - "health_check_id": "", - "id": "Z215X2J1G0MLJD_www.automatedbytes.com_CNAME", - "name": "www.automatedbytes.com", - "records.#": "1", - "records.805578271": "automatedbytes.com", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes_ca", - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_www.automatedbytes.ca_CNAME", - "attributes": { - "fqdn": "www.automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_www.automatedbytes.ca_CNAME", - "name": "www.automatedbytes.ca", - "records.#": "1", - "records.1493937059": "automatedbytes.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_hivebytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.hivebytes" - ], - "primary": { - "id": "Z6N8BZD6AJJ8P_www.hivebytes.com_A", - "attributes": { - "fqdn": "www.hivebytes.com", - "health_check_id": "", - "id": "Z6N8BZD6AJJ8P_www.hivebytes.com_A", - "name": "www.hivebytes.com", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z6N8BZD6AJJ8P" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_www.itautomata.com_CNAME", - "attributes": { - "fqdn": "www.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_www.itautomata.com_CNAME", - "name": "www.itautomata.com", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata_ca" - ], - "primary": { - "id": "Z1CUWXQSWRW0L6_www.itautomata.ca_CNAME", - "attributes": { - "fqdn": "www.itautomata.ca", - "health_check_id": "", - "id": "Z1CUWXQSWRW0L6_www.itautomata.ca_CNAME", - "name": "www.itautomata.ca", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1CUWXQSWRW0L6" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, "aws_route53_zone.ahosking": { "type": "aws_route53_zone", "depends_on": [], @@ -1341,126 +1037,6 @@ }, "deposed": [], "provider": "" - }, - "aws_route53_zone.automatedbytes": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z215X2J1G0MLJD", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z215X2J1G0MLJD", - "name": "automatedbytes.com", - "name_servers.#": "4", - "name_servers.0": "ns-1265.awsdns-30.org", - "name_servers.1": "ns-2010.awsdns-59.co.uk", - "name_servers.2": "ns-447.awsdns-55.com", - "name_servers.3": "ns-883.awsdns-46.net", - "tags.%": "0", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.automatedbytes_ca": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z1HBWU4GPUM2C", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z1HBWU4GPUM2C", - "name": "automatedbytes.ca", - "name_servers.#": "4", - "name_servers.0": "ns-1481.awsdns-57.org", - "name_servers.1": "ns-1943.awsdns-50.co.uk", - "name_servers.2": "ns-53.awsdns-06.com", - "name_servers.3": "ns-994.awsdns-60.net", - "tags.%": "0", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.hivebytes": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z6N8BZD6AJJ8P", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z6N8BZD6AJJ8P", - "name": "hivebytes.com", - "name_servers.#": "4", - "name_servers.0": "ns-1219.awsdns-24.org", - "name_servers.1": "ns-2020.awsdns-60.co.uk", - "name_servers.2": "ns-210.awsdns-26.com", - "name_servers.3": "ns-668.awsdns-19.net", - "tags.%": "0", - "zone_id": "Z6N8BZD6AJJ8P" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.itautomata": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z11COKXXL2S435", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z11COKXXL2S435", - "name": "itautomata.com", - "name_servers.#": "4", - "name_servers.0": "ns-1518.awsdns-61.org", - "name_servers.1": "ns-1743.awsdns-25.co.uk", - "name_servers.2": "ns-725.awsdns-26.net", - "name_servers.3": "ns-87.awsdns-10.com", - "tags.%": "0", - "zone_id": "Z11COKXXL2S435" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.itautomata_ca": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z1CUWXQSWRW0L6", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z1CUWXQSWRW0L6", - "name": "itautomata.ca", - "name_servers.#": "4", - "name_servers.0": "ns-1204.awsdns-22.org", - "name_servers.1": "ns-1752.awsdns-27.co.uk", - "name_servers.2": "ns-366.awsdns-45.com", - "name_servers.3": "ns-769.awsdns-32.net", - "tags.%": "0", - "zone_id": "Z1CUWXQSWRW0L6" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" } }, "depends_on": [] diff --git a/ahoskingit/terraform/terraform.tfstate.backup b/ahoskingit/terraform/terraform.tfstate.backup index 7652609..af3b670 100644 --- a/ahoskingit/terraform/terraform.tfstate.backup +++ b/ahoskingit/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 3, - "terraform_version": "0.8.5", - "serial": 9, + "terraform_version": "0.8.8", + "serial": 12, "lineage": "db7d87ff-3078-47ed-a0a9-91749a2dbba5", "modules": [ { @@ -23,7 +23,7 @@ "id": "Z1OR5RX3464I7O_ahosking.com_A", "name": "ahosking.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -82,7 +82,7 @@ "id": "Z1OR5RX3464I7O_*.ahosking.com_A", "name": "*.ahosking.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -137,7 +137,7 @@ "id": "Z2HTSYFXB5HXD9_ahoskingit.com_A", "name": "ahoskingit.com", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -164,7 +164,7 @@ "id": "Z1K67K6B7LVE6O_ahoskingit.ca_A", "name": "ahoskingit.ca", "records.#": "1", - "records.917561105": "104.37.195.87", + "records.1137503267": "138.197.154.98", "set_identifier": "", "ttl": "5", "type": "A", @@ -238,6 +238,34 @@ "deposed": [], "provider": "" }, + "aws_route53_record.ahoskingit_ca_www": { + "type": "aws_route53_record", + "depends_on": [ + "aws_route53_record.ahoskingit_ca", + "aws_route53_zone.ahoskingit_ca" + ], + "primary": { + "id": "Z1K67K6B7LVE6O_www.ahoskingit.ca_CNAME", + "attributes": { + "fqdn": "www.ahoskingit.ca", + "health_check_id": "", + "id": "Z1K67K6B7LVE6O_www.ahoskingit.ca_CNAME", + "name": "www.ahoskingit.ca", + "records.#": "1", + "records.3309211598": "ahoskingit.ca", + "set_identifier": "", + "ttl": "5", + "type": "CNAME", + "zone_id": "Z1K67K6B7LVE6O" + }, + "meta": { + "schema_version": "2" + }, + "tainted": false + }, + "deposed": [], + "provider": "" + }, "aws_route53_record.ahoskingit_mx": { "type": "aws_route53_record", "depends_on": [ @@ -326,51 +354,24 @@ "deposed": [], "provider": "" }, - "aws_route53_record.automatedbytes": { + "aws_route53_record.baby_ahoskingit": { "type": "aws_route53_record", "depends_on": [ - "aws_route53_zone.automatedbytes" + "aws_route53_zone.ahoskingit" ], "primary": { - "id": "Z215X2J1G0MLJD_automatedbytes.com_A", + "id": "Z2HTSYFXB5HXD9_baby.ahoskingit.com_A", "attributes": { - "fqdn": "automatedbytes.com", + "fqdn": "baby.ahoskingit.com", "health_check_id": "", - "id": "Z215X2J1G0MLJD_automatedbytes.com_A", - "name": "automatedbytes.com", + "id": "Z2HTSYFXB5HXD9_baby.ahoskingit.com_A", + "name": "baby.ahoskingit.com", "records.#": "1", "records.2764920476": "174.114.190.249", "set_identifier": "", "ttl": "5", "type": "A", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_automatedbytes.ca_A", - "attributes": { - "fqdn": "automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_automatedbytes.ca_A", - "name": "automatedbytes.ca", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z1HBWU4GPUM2C" + "zone_id": "Z2HTSYFXB5HXD9" }, "meta": { "schema_version": "2" @@ -714,60 +715,6 @@ "deposed": [], "provider": "" }, - "aws_route53_record.itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_itautomata.com_A", - "attributes": { - "fqdn": "itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_itautomata.com_A", - "name": "itautomata.com", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_itautomata.ca_A", - "attributes": { - "fqdn": "itautomata.ca.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_itautomata.ca_A", - "name": "itautomata.ca", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, "aws_route53_record.kfa_ahoskingit": { "type": "aws_route53_record", "depends_on": [ @@ -991,257 +938,6 @@ "deposed": [], "provider": "" }, - "aws_route53_record.wildcard_automatedbytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes", - "aws_route53_zone.automatedbytes" - ], - "primary": { - "id": "Z215X2J1G0MLJD_*.automatedbytes.com_CNAME", - "attributes": { - "fqdn": "*.automatedbytes.com", - "health_check_id": "", - "id": "Z215X2J1G0MLJD_*.automatedbytes.com_CNAME", - "name": "*.automatedbytes.com", - "records.#": "1", - "records.805578271": "automatedbytes.com", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes_ca", - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_*.automatedbytes.ca_CNAME", - "attributes": { - "fqdn": "*.automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_*.automatedbytes.ca_CNAME", - "name": "*.automatedbytes.ca", - "records.#": "1", - "records.1493937059": "automatedbytes.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_*.itautomata.com_CNAME", - "attributes": { - "fqdn": "*.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_*.itautomata.com_CNAME", - "name": "*.itautomata.com", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.wildcard_itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_*.itautomata.ca_CNAME", - "attributes": { - "fqdn": "*.itautomata.ca.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_*.itautomata.ca_CNAME", - "name": "*.itautomata.ca", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_automatedbytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes", - "aws_route53_zone.automatedbytes" - ], - "primary": { - "id": "Z215X2J1G0MLJD_www.automatedbytes.com_CNAME", - "attributes": { - "fqdn": "www.automatedbytes.com", - "health_check_id": "", - "id": "Z215X2J1G0MLJD_www.automatedbytes.com_CNAME", - "name": "www.automatedbytes.com", - "records.#": "1", - "records.805578271": "automatedbytes.com", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_automatedbytes_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.automatedbytes_ca", - "aws_route53_zone.automatedbytes_ca" - ], - "primary": { - "id": "Z1HBWU4GPUM2C_www.automatedbytes.ca_CNAME", - "attributes": { - "fqdn": "www.automatedbytes.ca", - "health_check_id": "", - "id": "Z1HBWU4GPUM2C_www.automatedbytes.ca_CNAME", - "name": "www.automatedbytes.ca", - "records.#": "1", - "records.1493937059": "automatedbytes.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_hivebytes": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_zone.hivebytes" - ], - "primary": { - "id": "Z6N8BZD6AJJ8P_www.hivebytes.com_A", - "attributes": { - "fqdn": "www.hivebytes.com", - "health_check_id": "", - "id": "Z6N8BZD6AJJ8P_www.hivebytes.com_A", - "name": "www.hivebytes.com", - "records.#": "1", - "records.2764920476": "174.114.190.249", - "set_identifier": "", - "ttl": "5", - "type": "A", - "zone_id": "Z6N8BZD6AJJ8P" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_itautomata": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata" - ], - "primary": { - "id": "Z11COKXXL2S435_www.itautomata.com_CNAME", - "attributes": { - "fqdn": "www.itautomata.com", - "health_check_id": "", - "id": "Z11COKXXL2S435_www.itautomata.com_CNAME", - "name": "www.itautomata.com", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z11COKXXL2S435" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_record.www_itautomata_ca": { - "type": "aws_route53_record", - "depends_on": [ - "aws_route53_record.itautomata_ca", - "aws_route53_zone.itautomata_ca" - ], - "primary": { - "id": "Z1CUWXQSWRW0L6_www.itautomata.ca_CNAME", - "attributes": { - "fqdn": "www.itautomata.ca", - "health_check_id": "", - "id": "Z1CUWXQSWRW0L6_www.itautomata.ca_CNAME", - "name": "www.itautomata.ca", - "records.#": "1", - "records.1683435174": "itautomata.ca", - "set_identifier": "", - "ttl": "5", - "type": "CNAME", - "zone_id": "Z1CUWXQSWRW0L6" - }, - "meta": { - "schema_version": "2" - }, - "tainted": false - }, - "deposed": [], - "provider": "" - }, "aws_route53_zone.ahosking": { "type": "aws_route53_zone", "depends_on": [], @@ -1313,126 +1009,6 @@ }, "deposed": [], "provider": "" - }, - "aws_route53_zone.automatedbytes": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z215X2J1G0MLJD", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z215X2J1G0MLJD", - "name": "automatedbytes.com", - "name_servers.#": "4", - "name_servers.0": "ns-1265.awsdns-30.org", - "name_servers.1": "ns-2010.awsdns-59.co.uk", - "name_servers.2": "ns-447.awsdns-55.com", - "name_servers.3": "ns-883.awsdns-46.net", - "tags.%": "0", - "zone_id": "Z215X2J1G0MLJD" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.automatedbytes_ca": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z1HBWU4GPUM2C", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z1HBWU4GPUM2C", - "name": "automatedbytes.ca", - "name_servers.#": "4", - "name_servers.0": "ns-1481.awsdns-57.org", - "name_servers.1": "ns-1943.awsdns-50.co.uk", - "name_servers.2": "ns-53.awsdns-06.com", - "name_servers.3": "ns-994.awsdns-60.net", - "tags.%": "0", - "zone_id": "Z1HBWU4GPUM2C" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.hivebytes": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z6N8BZD6AJJ8P", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z6N8BZD6AJJ8P", - "name": "hivebytes.com", - "name_servers.#": "4", - "name_servers.0": "ns-1219.awsdns-24.org", - "name_servers.1": "ns-2020.awsdns-60.co.uk", - "name_servers.2": "ns-210.awsdns-26.com", - "name_servers.3": "ns-668.awsdns-19.net", - "tags.%": "0", - "zone_id": "Z6N8BZD6AJJ8P" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.itautomata": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z11COKXXL2S435", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z11COKXXL2S435", - "name": "itautomata.com", - "name_servers.#": "4", - "name_servers.0": "ns-1518.awsdns-61.org", - "name_servers.1": "ns-1743.awsdns-25.co.uk", - "name_servers.2": "ns-725.awsdns-26.net", - "name_servers.3": "ns-87.awsdns-10.com", - "tags.%": "0", - "zone_id": "Z11COKXXL2S435" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" - }, - "aws_route53_zone.itautomata_ca": { - "type": "aws_route53_zone", - "depends_on": [], - "primary": { - "id": "Z1CUWXQSWRW0L6", - "attributes": { - "comment": "Managed by Terraform", - "force_destroy": "false", - "id": "Z1CUWXQSWRW0L6", - "name": "itautomata.ca", - "name_servers.#": "4", - "name_servers.0": "ns-1204.awsdns-22.org", - "name_servers.1": "ns-1752.awsdns-27.co.uk", - "name_servers.2": "ns-366.awsdns-45.com", - "name_servers.3": "ns-769.awsdns-32.net", - "tags.%": "0", - "zone_id": "Z1CUWXQSWRW0L6" - }, - "meta": {}, - "tainted": false - }, - "deposed": [], - "provider": "" } }, "depends_on": [] diff --git a/ahoskingit/terraform/variables.tf b/ahoskingit/terraform/variables.tf index 525df6b..19bb5d2 100644 --- a/ahoskingit/terraform/variables.tf +++ b/ahoskingit/terraform/variables.tf @@ -11,7 +11,7 @@ variable "home_ip" { } variable "site5_ip" { - default = "104.37.195.87" + default = "138.197.154.98" } ## KFA IP