forked from cisagov/cool-dns-cyber.dhs.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
route53_rsaa_app.tf
71 lines (57 loc) · 2.5 KB
/
route53_rsaa_app.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
# ------------------------------------------------------------------------------
# Resource records that support RSAA (Repository for Software Attestations and
# Artifacts)
# ------------------------------------------------------------------------------
# Development entries
# ------------------------------------------------------------------------------
resource "aws_route53_record" "rsaa_dev_CNAME" {
provider = aws.route53resourcechange
name = "dev.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["rsaa-dev-674180318.us-gov-west-1.elb.amazonaws.com"]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}
resource "aws_route53_record" "rsaa_dev_piv_CNAME" {
provider = aws.route53resourcechange
name = "piv.dev.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["rsaa-dev-piv-651272849.us-gov-west-1.elb.amazonaws.com"]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}
resource "aws_route53_record" "rsaa_dev_piv_acme_CNAME" {
provider = aws.route53resourcechange
name = "_5d486d2fb58d1753933f5edd460ed038.piv.dev.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["_80388937627154b2c177f7fc3643bcea.mhbtsbpdnt.acm-validations.aws."]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}
# ------------------------------------------------------------------------------
# Staging entries
# ------------------------------------------------------------------------------
resource "aws_route53_record" "rsaa_stage_CNAME" {
provider = aws.route53resourcechange
name = "staging.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["rsaa-stage-955379685.us-gov-west-1.elb.amazonaws.com"]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}
resource "aws_route53_record" "rsaa_stage_piv_CNAME" {
provider = aws.route53resourcechange
name = "piv.staging.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["rsaa-stage-piv-144377488.us-gov-west-1.elb.amazonaws.com"]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}
resource "aws_route53_record" "rsaa_stage_piv_acme_CNAME" {
provider = aws.route53resourcechange
name = "_538a512062a89ebf513e9357efcdc9d0.piv.staging.rsaa.${aws_route53_zone.cyber_dhs_gov.name}"
records = ["_c32d5316d612788d9e39a709ad19161a.mhbtsbpdnt.acm-validations.aws."]
ttl = 300
type = "CNAME"
zone_id = aws_route53_zone.cyber_dhs_gov.zone_id
}