Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
do not create dns entry when not using cdn (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
markwallsgrove authored May 29, 2020
1 parent 8cb0099 commit a407714
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ resource "aws_route53_record" "www" {
}

resource "aws_route53_record" "internal-dns" {
count = "${var.use_cloudfront != "false" ? 1 : 0}"

zone_id = "${data.aws_route53_zone.primary.zone_id}"
name = "${var.internal-domain-name}"
type = "A"
Expand Down

0 comments on commit a407714

Please sign in to comment.