Files
ent/doc/tf/domain.tf
Alex Snast 933fe91741 adding domain records / cerificate
Summary: terraform changes already applied

Reviewed By: a8m

Differential Revision: D16752076

fbshipit-source-id: b3ccf1c827f6d918c6507f2978c3b497533ab725
2019-08-11 03:05:48 -07:00

16 lines
301 B
HCL

locals {
domain_name = "entgo.io"
}
resource "aws_route53_zone" "zone" {
name = local.domain_name
}
resource "aws_route53_record" "ns" {
name = aws_route53_zone.zone.name
type = "NS"
zone_id = aws_route53_zone.zone.id
ttl = 300
records = aws_route53_zone.zone.name_servers
}