forked from gliderlabs/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmd.io.tf
47 lines (42 loc) · 1006 Bytes
/
cmd.io.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
resource "aws_route53_zone" "cmd_io" {
name = "cmd.io"
comment = "${var._comment}"
}
// cmd.io
resource "aws_route53_record" "cmd_io" {
zone_id = "${aws_route53_zone.cmd_io.zone_id}"
name = "cmd.io"
type = "A"
alias {
name = "d24sdw7s6lpyet.cloudfront.net."
zone_id = "Z2FDTNDATAQYW2"
evaluate_target_health = false
}
}
// www.cmd.io
resource "aws_route53_record" "www_cmd_io" {
zone_id = "${aws_route53_zone.cmd_io.zone_id}"
name = "www.cmd.io"
type = "A"
alias {
name = "d24sdw7s6lpyet.cloudfront.net."
zone_id = "Z2FDTNDATAQYW2"
evaluate_target_health = false
}
}
// alpha.cmd.io
resource "aws_route53_record" "alpha_cmd_io" {
zone_id = "${aws_route53_zone.cmd_io.zone_id}"
name = "alpha.cmd.io"
type = "A"
ttl = "300"
records = ["35.202.110.23"]
}
// beta.cmd.io
resource "aws_route53_record" "beta_cmd_io" {
zone_id = "${aws_route53_zone.cmd_io.zone_id}"
name = "beta.cmd.io"
type = "A"
ttl = "300"
records = ["35.194.44.84"]
}