Skip to content

Commit

Permalink
fix: change in count condition (#19)
Browse files Browse the repository at this point in the history
* fix: change in count condition

* fix:change in count condition with null
  • Loading branch information
Rupalgw authored Feb 16, 2024
1 parent cd7385e commit 2a55ff8
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 = 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 = 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 = 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 = 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 2a55ff8

Please sign in to comment.