forked from 18F/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
innovation.gov.tf
88 lines (73 loc) · 2.34 KB
/
innovation.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" "innovation_toplevel" {
name = "innovation.gov"
tags = {
Project = "dns"
}
}
resource "aws_route53_record" "innovation_gov_apex" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "innovation.gov."
type = "A"
alias {
name = "d2ntl68ywjm643.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "innovation_gov_apex_aaaa" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "innovation.gov."
type = "AAAA"
alias {
name = "d2ntl68ywjm643.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "innovation_gov_www" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "www.innovation.gov."
type = "A"
alias {
name = "d2ntl68ywjm643.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "innovation_gov_www_aaaa" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "www.innovation.gov."
type = "AAAA"
alias {
name = "d2ntl68ywjm643.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "demo_innovation_gov_a" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "demo.innovation.gov."
type = "A"
alias {
name = "d3am9l7wwd0yie.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
resource "aws_route53_record" "demo_innovation_gov_aaaa" {
zone_id = aws_route53_zone.innovation_toplevel.zone_id
name = "demo.innovation.gov."
type = "AAAA"
alias {
name = "d3am9l7wwd0yie.cloudfront.net."
zone_id = local.cloud_gov_cloudfront_zone_id
evaluate_target_health = false
}
}
module "innovation_gov__email_security" {
source = "./email_security"
zone_id = aws_route53_zone.innovation_toplevel.zone_id
}
output "innovation_ns" {
value = aws_route53_zone.innovation_toplevel.name_servers
}