forked from 18F/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiscovery.gsa.gov.tf
43 lines (36 loc) · 1.26 KB
/
discovery.gsa.gov.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
resource "aws_route53_zone" "discovery_gsa_gov_zone" {
name = "discovery.gsa.gov."
tags = {
Project = "dns"
}
}
resource "aws_route53_record" "discovery_gsa_gov_discovery_gsa_gov_a" {
zone_id = aws_route53_zone.discovery_gsa_gov_zone.zone_id
name = "discovery.gsa.gov."
type = "A"
alias {
name = "d11du9vova78yj.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "discovery_gsa_gov_discovery_gsa_gov_aaaa" {
zone_id = aws_route53_zone.discovery_gsa_gov_zone.zone_id
name = "discovery.gsa.gov."
type = "AAAA"
alias {
name = "d11du9vova78yj.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "discovery_gsa_gov_3507f28574ed43c4bd2a644f46b397c0_discovery_gsa_gov_cname" {
zone_id = aws_route53_zone.discovery_gsa_gov_zone.zone_id
name = "3507f28574ed43c4bd2a644f46b397c0.discovery.gsa.gov."
type = "CNAME"
ttl = 300
records = ["ab0dd8e8680449e324abcfd7f80df50b10b58ac3.comodoca.com."]
}
output "discovery_gsa_gov_ns" {
value = aws_route53_zone.discovery_gsa_gov_zone.name_servers
}