Skip to content

Commit

Permalink
Merge pull request #744 from rosmo/dns-project-id-fix
Browse files Browse the repository at this point in the history
Fixed issue with missing project reference in Cloud DNS data source
  • Loading branch information
rosmo authored Jul 19, 2022
2 parents be7378b + 6f96f0a commit a051c54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/dns/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ resource "google_dns_managed_zone" "non-public" {
}

data "google_dns_managed_zone" "public" {
count = var.zone_create ? 0 : 1
name = var.name
count = var.zone_create ? 0 : 1
project = var.project_id
name = var.name
}

resource "google_dns_managed_zone" "public" {
Expand Down

0 comments on commit a051c54

Please sign in to comment.