14 lines
411 B
Terraform
14 lines
411 B
Terraform
|
|
# gist.keane.sh -> OpenGist, running on the same k8s cluster (different
|
||
|
|
# hosted zone than dumpnet.chat, so this is separate from dns_records/dns.tf)
|
||
|
|
data "aws_route53_zone" "keane_sh" {
|
||
|
|
name = "keane.sh"
|
||
|
|
}
|
||
|
|
|
||
|
|
resource "aws_route53_record" "opengist" {
|
||
|
|
zone_id = data.aws_route53_zone.keane_sh.zone_id
|
||
|
|
name = "gist.keane.sh"
|
||
|
|
type = "A"
|
||
|
|
ttl = 300
|
||
|
|
records = [aws_eip.controlplane.public_ip]
|
||
|
|
}
|