Artbybecki DNS, format

This commit is contained in:
Gabriel Simmer 2022-08-28 01:10:23 +01:00
parent 50f47a6189
commit ffc7275b2b
2 changed files with 116 additions and 39 deletions

View file

@ -0,0 +1,77 @@
# Disabled until domain is migrated to AWS.
resource "aws_route53_zone" "artbybeckicom" {
name = "artbybecki.com"
}
resource "aws_route53_record" "artbybeckicom-a" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "artbybecki.com"
type = "A"
ttl = 300
records = ["172.66.44.150", "172.66.47.106"]
}
resource "aws_route53_record" "artbybeckicom-api" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "api"
type = "A"
ttl = 300
records = ["37.16.0.82"]
}
resource "aws_route53_record" "artbybeckicom-api-6" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "api"
type = "AAAA"
ttl = 300
records = ["2a09:8280:1::6:39f8"]
}
resource "aws_route53_record" "artbybeckicom-api-verification" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "_acme-challenge.api"
type = "CNAME"
ttl = 300
records = ["api.artbybecki.com.wzq08.flydns.net."]
}
resource "aws_route53_record" "artbybeckicom-world" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "world"
type = "A"
ttl = 300
records = ["37.16.0.82"]
}
resource "aws_route53_record" "artbybeckicom-world-6" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "world"
type = "AAAA"
ttl = 300
records = ["2a09:8280:1::6:39f8"]
}
resource "aws_route53_record" "artbybeckicom-world-verification" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "_acme-challenge.world"
type = "CNAME"
ttl = 300
records = ["world.artbybecki.com.wzq08.flydns.net."]
}
resource "aws_route53_record" "artbybeckicom-images" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "images"
type = "CNAME"
ttl = 300
records = ["f000.backblazeb2.com"]
}
resource "aws_route53_record" "artbybeckicom-gsv" {
zone_id = aws_route53_zone.artbybeckicom.zone_id
name = "artbybecki.com"
type = "TXT"
ttl = 300
records = ["google-site-verification=u9EyJHPaDkmUQC7kucw4j7C4mdGR2q4IwkAdJtQjC80"]
}