Imported route53 zone + records
This commit is contained in:
parent
ae61177661
commit
4e46f34440
33
infra/route53.tf
Normal file
33
infra/route53.tf
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
# This entry is just for the sample service that is just plain nginx
|
||||
# No TLS will be placed on this just yet as we need to make sure this
|
||||
# and the load balancer are setup to receive things properly
|
||||
resource "aws_route53_zone" "project-athens" {
|
||||
name = "project-athens.xyz"
|
||||
comment = "Project Athens domain zone"
|
||||
}
|
||||
|
||||
|
||||
resource "aws_route53_record" "main_ns" {
|
||||
zone_id = aws_route53_zone.project-athens.id
|
||||
name = "project-athens.xyz"
|
||||
type = "NS"
|
||||
ttl = 172800
|
||||
records = [
|
||||
"ns-806.awsdns-36.net.",
|
||||
"ns-1881.awsdns-43.co.uk.",
|
||||
"ns-1109.awsdns-10.org.",
|
||||
"ns-11.awsdns-01.com.",
|
||||
]
|
||||
}
|
||||
|
||||
resource "aws_route53_record" "main_soa" {
|
||||
zone_id = aws_route53_zone.project-athens.id
|
||||
name = "project-athens.xyz"
|
||||
type = "SOA"
|
||||
ttl = 900
|
||||
records = [
|
||||
"ns-806.awsdns-36.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user