From a80c7bdde8d085286fc65e3cb461b778ba6e1139 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 31 Jan 2017 17:22:57 -0500 Subject: [PATCH] Fleshing out ahoskingit.com DNS --- ahoskingit/terraform/dns_ahoskingit.tf | 63 ++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/ahoskingit/terraform/dns_ahoskingit.tf b/ahoskingit/terraform/dns_ahoskingit.tf index a08d859..bcf1ce7 100644 --- a/ahoskingit/terraform/dns_ahoskingit.tf +++ b/ahoskingit/terraform/dns_ahoskingit.tf @@ -45,6 +45,69 @@ resource "aws_route53_record" "lab_ahoskingit" { records = ["${aws_route53_record.kfa_ahoskingit.name}"] } +resource = "aws_route53_record" "inventory_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "inventory.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "plex_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "plex.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "ns1_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "ns1.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "docs_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "docs.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "cloud_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "cloud.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" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "git_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "git.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} + +resource = "aws_route53_record" "gitlab_ahoskingit" { + zone_id = "${aws_route53_zone.ahoskingit.zone_id}" + name = "gitlab.ahoskingit.com" + type = "CNAME" + ttl = "5" + records = ["${aws_route53_record.home_ahoskingit.name}"] +} #Route53 DNS entry #resource "aws_route53_record" "www_ahoskingit" {