forked from 18F/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbst.gov.tf
72 lines (60 loc) · 1.9 KB
/
sbst.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
resource "aws_route53_zone" "sbst_gov_zone" {
name = "sbst.gov."
tags = {
Project = "dns"
}
}
resource "aws_route53_record" "sbst_gov_sbst_gov_a" {
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
name = "sbst.gov."
type = "A"
alias {
name = "d277n30llb5z4h.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "sbst_gov_sbst_gov_aaaa" {
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
name = "sbst.gov."
type = "AAAA"
alias {
name = "d277n30llb5z4h.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "sbst_gov_www_sbst_gov_a" {
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
name = "www.sbst.gov."
type = "A"
alias {
name = "d277n30llb5z4h.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "sbst_gov_www_sbst_gov_aaaa" {
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
name = "www.sbst.gov."
type = "AAAA"
alias {
name = "d277n30llb5z4h.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "sbst_gov_6020162f64c7bb016b2a3de7428839d0_www_sbst_gov_cname" {
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
name = "6020162f64c7bb016b2a3de7428839d0.www.sbst.gov."
type = "CNAME"
ttl = 300
records = ["e1eaa443027a9960e21419ecde173b2b8ebdf10b.comodoca.com."]
}
module "sbst_gov__email_security" {
source = "./email_security"
zone_id = aws_route53_zone.sbst_gov_zone.zone_id
}
output "sbst_gov_ns" {
value = aws_route53_zone.sbst_gov_zone.name_servers
}