terraform-tofu-labs/2-simple-example/iac/route53.tf
2024-04-15 21:37:25 +01:00

11 lines
258 B
HCL

resource "aws_route53_record" "chat" {
zone_id = "Z2TWGHEC8YQMWW"
name = "chat.ngd.io"
type = "A"
alias {
name = module.alb.dns_name
zone_id = module.alb.zone_id
evaluate_target_health = true
}
}