Skip to content

Commit

Permalink
Merge pull request #1508 from wking/private-route53-after-public
Browse files Browse the repository at this point in the history
Bug 1659970: data/aws/route53: Block private Route 53 zone on public record
  • Loading branch information
openshift-merge-robot authored Apr 1, 2019
2 parents 8d15d60 + ae9cbaf commit bd9d357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/data/aws/route53/base.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ resource "aws_route53_zone" "int" {
tags = "${merge(map(
"Name", "${var.cluster_id}-int",
), var.tags)}"

depends_on = ["aws_route53_record.api_external"]
}

resource "aws_route53_record" "api_external" {
Expand Down

0 comments on commit bd9d357

Please sign in to comment.