Skip to content

Commit

Permalink
Remove import statements for root DNS zones
Browse files Browse the repository at this point in the history
  • Loading branch information
samsimpson1 committed Apr 2, 2024
1 parent c4a0395 commit 0f8fe08
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions terraform/deployments/vpc/root_dns_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,3 @@ resource "aws_route53_zone" "internal_zone" {
resource "aws_route53_zone" "external_zone" {
name = "${var.govuk_environment}.govuk.digital."
}

// Imports (temporary)

data "aws_route53_zone" "internal" {
name = "${var.govuk_environment}.govuk-internal.digital."
private_zone = true
}

data "aws_route53_zone" "external" {
name = "${var.govuk_environment}.govuk.digital."
}

import {
to = aws_route53_zone.external_zone
id = data.aws_route53_zone.external.zone_id
}

import {
to = aws_route53_zone.internal_zone
id = data.aws_route53_zone.internal.zone_id
}

0 comments on commit 0f8fe08

Please sign in to comment.