Skip to content

Commit

Permalink
fix:change in count condition with null
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupalgw committed Feb 15, 2024
1 parent d0289d1 commit a11fff2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
output "resource_group_id" {
value = try(azurerm_resource_group.default[0].id, "")
value = try(azurerm_resource_group.default[0].id, null)
description = "The ID of the Resource Group."
}

output "resource_group_name" {
value = try(azurerm_resource_group.default[0].name, "")
value = try(azurerm_resource_group.default[0].name, null)
description = "The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created."
}

output "resource_group_location" {
value = try(azurerm_resource_group.default[0].location, "")
value = try(azurerm_resource_group.default[0].location, null)
description = "The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created."
}

output "tags" {
value = try(module.labels.tags, "")
value = try(module.labels.tags, null)
description = "A mapping of tags which should be assigned to the Resource Group."
}

0 comments on commit a11fff2

Please sign in to comment.