This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapps.gov.tf
88 lines (78 loc) · 2.68 KB
/
apps.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
resource "aws_route53_zone" "apps_gov_zone" {
name = "apps.gov."
tags {
Project = "dns"
}
}
resource "aws_route53_record" "apps_gov_apps_gov_a" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "apps.gov."
type = "A"
alias {
name = "d24f99alwtdu0h.cloudfront.net."
zone_id = "${local.cloudfront_zone_id}"
evaluate_target_health = false
}
}
resource "aws_route53_record" "apps_gov__dmarc_apps_gov_txt" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "_dmarc.apps.gov."
type = "TXT"
ttl = 300
records = ["${local.dmarc_reject}"]
}
resource "aws_route53_record" "apps_gov_7020370b93980d607416a29297f68e3b_apps_gov_cname" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "7020370b93980d607416a29297f68e3b.apps.gov."
type = "CNAME"
ttl = 60
records = ["df309d7dd3fde8755d6d9da8bf2911dcc59f0eb8.comodoca.com."]
}
resource "aws_route53_record" "apps_gov__amazonses_apps_gov_txt" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "_amazonses.apps.gov."
type = "TXT"
ttl = 60
records = ["9s5WB+tcaXC6+ygBRGy9ScjCLmNOme1BKW7s3y2+Y0s="]
}
resource "aws_route53_record" "apps_gov_f6vzy6nhqi3u6rk4yxxawrihkqtvx5by__domainkey_apps_gov_cname" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "f6vzy6nhqi3u6rk4yxxawrihkqtvx5by._domainkey.apps.gov."
type = "CNAME"
ttl = 60
records = ["f6vzy6nhqi3u6rk4yxxawrihkqtvx5by.dkim.amazonses.com."]
}
resource "aws_route53_record" "apps_gov_nmhy3ybmnflrc262ad44iiydvn2iptrw__domainkey_apps_gov_cname" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "nmhy3ybmnflrc262ad44iiydvn2iptrw._domainkey.apps.gov."
type = "CNAME"
ttl = 60
records = ["nmhy3ybmnflrc262ad44iiydvn2iptrw.dkim.amazonses.com."]
}
resource "aws_route53_record" "apps_gov_tsucoqfortrlk2ht7wowgq642vrg4hjl__domainkey_apps_gov_cname" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "tsucoqfortrlk2ht7wowgq642vrg4hjl._domainkey.apps.gov."
type = "CNAME"
ttl = 60
records = ["tsucoqfortrlk2ht7wowgq642vrg4hjl.dkim.amazonses.com."]
}
resource "aws_route53_record" "apps_gov_autodiscover_apps_gov_cname" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "autodiscover.apps.gov."
type = "CNAME"
ttl = 60
records = ["autodiscover.mail.us-east-1.awsapps.com."]
}
resource "aws_route53_record" "apps_gov_www_apps_gov_a" {
zone_id = "${aws_route53_zone.apps_gov_zone.zone_id}"
name = "www.apps.gov."
type = "A"
alias {
name = "d24f99alwtdu0h.cloudfront.net."
zone_id = "${local.cloudfront_zone_id}"
evaluate_target_health = false
}
}
output "apps_gov_ns" {
value="${aws_route53_zone.apps_gov_zone.name_servers}"
}