Skip to content

Commit

Permalink
move a record for home to hosted zone
Browse files Browse the repository at this point in the history
  • Loading branch information
ericreeves committed Feb 17, 2025
1 parent b18cdb2 commit 544b83a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions modules/aws_network/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ resource "aws_route53_zone" "zone_home" {
comment = "Hosted Zone for home.alluvium.cloud"
}

resource "aws_route53_record" "a_home" {
allow_overwrite = true
zone_id = var.route53_hosted_zone_id
name = "home.${var.route53_domain_name}"
type = "A"
ttl = "86400"
records = ["70.235.254.231"]
}

resource "aws_route53_record" "ns_record_home" {
type = "NS"
Expand All @@ -21,6 +13,15 @@ resource "aws_route53_record" "ns_record_home" {
records = aws_route53_zone.zone_home.name_servers
}


resource "aws_route53_record" "a_record_home" {
type = "A"
zone_id = aws_route53_zone.zone_home.zone_id
name = "home.alluvium.cloud"
ttl = "300"
records = ["70.235.254.231"]
}

resource "aws_route53_record" "wildcard_home" {
zone_id = aws_route53_zone.zone_home.zone_id
name = "*.home.alluvium.cloud"
Expand Down

0 comments on commit 544b83a

Please sign in to comment.