~nromdotcom/gemif

ref: a458f93891ec4c1f10a9f4ca83b38ab51590a001 gemif/infra/dns.tf -rw-r--r-- 304 bytes
a458f938Norm MacLennan Variableize Terraform 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
data "aws_route53_zone" "fedifarm" {
  name = "${var.gemif_zone_name}."
}

resource "aws_route53_record" "gemif" {
  zone_id = data.aws_route53_zone.fedifarm.zone_id
  name    = "${var.gemif_subdomain_name}${var.gemif_zone_name}"
  type    = "A"
  ttl     = "300"
  records = [aws_eip.gemif.public_ip]
}