forked from 18F/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
covidtest.usa.gov.tf
42 lines (34 loc) · 988 Bytes
/
covidtest.usa.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
resource "aws_route53_zone" "covidtest_usa_gov_zone" {
name = "covidtest.usa.gov."
tags = {
Project = "dns"
}
}
resource "aws_route53_zone" "staging_covidtest_usa_gov_zone" {
name = "staging-covidtest.usa.gov."
tags = {
Project = "dns"
}
}
/* these aren't needed at this point in time.
resource "aws_route53_record" "covidtest_usa_gov_cname" {
zone_id = aws_route53_zone.covidtest_usa_gov_zone.zone_id
name = "covidtest.usa.gov."
type = "CNAME"
ttl = "60"
records = ["www.usa.gov"]
}
resource "aws_route53_record" "staging_covidtest_usa_gov_cname" {
zone_id = aws_route53_zone.staging_covidtest_usa_gov_zone.zone_id
name = "staging-covidtest.usa.gov."
type = "CNAME"
ttl = "60"
records = ["www.usa.gov"]
}
*/
output "covidtest_usa_gov_ns" {
value = aws_route53_zone.covidtest_usa_gov_zone.name_servers
}
output "staging_covidtest_usa_gov_ns" {
value = aws_route53_zone.staging_covidtest_usa_gov_zone.name_servers
}