Skip to content

Commit 0b17eb5

Browse files
fix output
* fix output when using query mode
1 parent 9efd55a commit 0b17eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ output "private_dns_zones" {
55

66
output "resource_group_id" {
77
description = "ID of the Resource Group created by the module"
8-
value = azurerm_resource_group.this[0].id
9-
}
8+
value = var.query_zones ? null : azurerm_resource_group.this[0].id
9+
}

0 commit comments

Comments
 (0)