Merge pull request #744 from rosmo/dns-project-id-fix

Fixed issue with missing project reference in Cloud DNS data source
This commit is contained in:
Taneli Leppä 2022-07-19 11:26:35 +02:00 committed by GitHub
commit a051c54f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -103,8 +103,9 @@ resource "google_dns_managed_zone" "non-public" {
} }
data "google_dns_managed_zone" "public" { data "google_dns_managed_zone" "public" {
count = var.zone_create ? 0 : 1 count = var.zone_create ? 0 : 1
name = var.name project = var.project_id
name = var.name
} }
resource "google_dns_managed_zone" "public" { resource "google_dns_managed_zone" "public" {