Adding note regarding master record with special record

This commit is contained in:
shockrah 2023-09-30 16:26:17 -07:00
parent 295f933d8a
commit 10ed1f1a98

View File

@ -52,6 +52,10 @@ resource "aws_route53_record" "shockrah-xyz-record" {
records = each.value.records records = each.value.records
} }
# This is our special snowflake """"master record"""" which points the root
# domain to a alias which normally is not allowed however route53 _does_
# allow this to happen. In basically every other case we would need to point
# this root record to an IP and have an LB attach to that LB
resource "aws_route53_record" "shockrah-xyz-apex" { resource "aws_route53_record" "shockrah-xyz-apex" {
zone_id = aws_route53_zone.shockrah-xyz.id zone_id = aws_route53_zone.shockrah-xyz.id
name = "shockrah.xyz" name = "shockrah.xyz"