forked from 18F/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpresidentialinnovationfellows.gov.tf
127 lines (106 loc) · 4.51 KB
/
presidentialinnovationfellows.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
resource "aws_route53_zone" "presidentialinnovationfellows_toplevel" {
name = "presidentialinnovationfellows.gov"
tags = {
Project = "dns"
}
}
resource "aws_route53_record" "presidentialinnovationfellows_www" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "www.presidentialinnovationfellows.gov."
type = "A"
alias {
name = "d26prp92rpqmzl.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "presidentialinnovationfellows_www_aaaa" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "www.presidentialinnovationfellows.gov."
type = "AAAA"
alias {
name = "d26prp92rpqmzl.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "presidentialinnovationfellows_apex" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "presidentialinnovationfellows.gov."
type = "A"
alias {
name = "d26prp92rpqmzl.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "presidentialinnovationfellows_apex_aaaa" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "presidentialinnovationfellows.gov."
type = "AAAA"
alias {
name = "d26prp92rpqmzl.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "presidentialinnovationfellows_mx" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "presidentialinnovationfellows.gov."
type = "MX"
ttl = 60
records = ["10 alt3.aspmx.l.google.com.", "10 alt4.aspmx.l.google.com.", "1 aspmx.l.google.com.", "5 alt1.aspmx.l.google.com.", "5 alt2.aspmx.l.google.com."]
}
module "presidentialinnovationfellows_gov__email_security" {
source = "./email_security"
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
txt_records = [
local.spf_no_mail,
"google-site-verification=RBhAMKMQvrHWfxNfosQ9oUrrcwAme78JlrhD3cTQCvY"
]
}
resource "aws_route53_record" "presidentialinnovationfellows_gov__github-challenge-presidential-innovation-fellows_presidentialinnovationfellows_gov_txt" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "_github-challenge-presidential-innovation-fellows.pif.gov."
type = "TXT"
ttl = 60
records = ["128bd6e5cf"]
}
resource "aws_route53_record" "presidentialinnovationfellows_amazonses" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "_amazonses.presidentialinnovationfellows.gov."
type = "TXT"
ttl = 1800
records = ["7q2e04OSN64Ey2OfWI9cHmvQ3ZmG3c/u+N8BzZtxMgU="]
}
resource "aws_route53_record" "presidentialinnovationfellows_domainkey_1" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "7fz4jdqdwujjhu2p2kk7az3ttz7amtql._domainkey.presidentialinnovationfellows.gov."
type = "CNAME"
ttl = 1800
records = ["7fz4jdqdwujjhu2p2kk7az3ttz7amtql.dkim.amazonses.com"]
}
resource "aws_route53_record" "presidentialinnovationfellows_domainkey_2" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "jqewov2ncvy7kbnvsphmkpuhsrrdxgpi._domainkey.presidentialinnovationfellows.gov."
type = "CNAME"
ttl = 1800
records = ["jqewov2ncvy7kbnvsphmkpuhsrrdxgpi.dkim.amazonses.com"]
}
resource "aws_route53_record" "presidentialinnovationfellows_domainkey_3" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "xj5lii5m5qopbxzuxy4fblxbgbf2cq3e._domainkey.presidentialinnovationfellows.gov."
type = "CNAME"
ttl = 1800
records = ["xj5lii5m5qopbxzuxy4fblxbgbf2cq3e.dkim.amazonses.com"]
}
resource "aws_route53_record" "presidentialinnovationfellows_domainkey_4" {
zone_id = aws_route53_zone.presidentialinnovationfellows_toplevel.zone_id
name = "cbc8cc32be1472b484a33c816d5e1ea4.presidentialinnovationfellows.gov."
type = "CNAME"
ttl = 1800
records = ["a1f5db99eecd3aea9859248b9db2008152818166.comodoca.com."]
}
output "presidentialinnovationfellows_ns" {
value = aws_route53_zone.presidentialinnovationfellows_toplevel.name_servers
}