Skip to content

Commit

Permalink
Merge pull request #416 from 18F/amirDemo
Browse files Browse the repository at this point in the history
setup demo domain
  • Loading branch information
amirbey authored Mar 18, 2020
2 parents 30a5608 + dc11acf commit 041035b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions terraform/18f.gov.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,25 @@ resource "aws_route53_record" "18f_gov__acme-challenge_federalist_report_templat
records = ["P--Ckv0OyZoQsclY3Y7uS74s-UNHg-ImLHnbnAEjeQs"]
}

resource "aws_route53_record" "18f_gov_demo-er2epz2vb_18f_gov_a" {
zone_id = "${aws_route53_zone.18f_gov_zone.zone_id}"
name = "demo-er2epz2vb.18f.gov."
type = "A"
alias {
name = "djut57wuzit2q.cloudfront.net."
zone_id = "${local.cloudfront_zone_id}"
evaluate_target_health = false
}
}

resource "aws_route53_record" "18f_gov__acme-challenge_demo-er2epz2vb_18f_gov_txt" {
zone_id = "${aws_route53_zone.18f_gov_zone.zone_id}"
name = "_acme-challenge.demo-er2epz2vb.18f.gov."
type = "TXT"
ttl = 120
records = ["AyKIGRjcXOlJjt6A8rRDYAxLp9YPw4B-7nnBiuLKZkg"]
}

output "18f_gov_ns" {
value="${aws_route53_zone.18f_gov_zone.name_servers}"
}

0 comments on commit 041035b

Please sign in to comment.