generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change in count condition (#19)
* fix: change in count condition * fix:change in count condition with null
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |