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 patheverykidinapark.gov.tf
66 lines (59 loc) · 2.11 KB
/
everykidinapark.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
resource "aws_route53_zone" "everykidinapark_gov_zone" {
name = "everykidinapark.gov."
tags {
Project = "dns"
}
}
# Configured with CDN Broker
resource "aws_route53_record" "everykidinapark_gov_everykidinapark_gov_a" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "everykidinapark.gov."
type = "A"
alias {
name = "d356so74a5xncl.cloudfront.net"
zone_id = "${local.cloudfront_zone_id}"
evaluate_target_health = false
}
}
# Configured with CDN Broker
resource "aws_route53_record" "everykidinapark_gov_www_everykidinapark_gov_a" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "www.everykidinapark.gov."
type = "A"
alias {
name = "d356so74a5xncl.cloudfront.net"
zone_id = "${local.cloudfront_zone_id}"
evaluate_target_health = false
}
}
resource "aws_route53_record" "everykidinapark_gov_faf32864d6063003a2c9b208e74ab021_www_everykidinapark_gov_cname" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "faf32864d6063003a2c9b208e74ab021.www.everykidinapark.gov."
type = "CNAME"
ttl = 5
records = ["152983f9fda5218669323f1d3859987b0a652251.comodoca.com."]
}
resource "aws_route53_record" "everykidinapark_gov_398a1a6f10083c7a093fc5988ea1977b_www_everykidinapark_gov_cname" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "398a1a6f10083c7a093fc5988ea1977b.www.everykidinapark.gov."
type = "CNAME"
ttl = 5
records = ["9bbc15d353b32d96be120d1cb2af1b89e0763167.comodoca.com."]
}
resource "aws_route53_record" "everykidinapark_gov_everykidinapark_gov_txt" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "everykidinapark.gov."
type = "TXT"
ttl = 300
records = ["${local.spf_no_mail}"]
}
resource "aws_route53_record" "everykidinapark_gov__dmarc_everykidinapark_gov_txt" {
zone_id = "${aws_route53_zone.everykidinapark_gov_zone.zone_id}"
name = "_dmarc.everykidinapark.gov."
type = "TXT"
ttl = 300
records = ["${local.dmarc_reject}"]
}
output "everykidinapark_gov_ns" {
value="${aws_route53_zone.everykidinapark_gov_zone.name_servers}"
}