Skip to content

Commit 6e3f803

Browse files
add resource group location to outputs (#112)
1 parent b54907b commit 6e3f803

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ Default: `null`
164164

165165
The following outputs are exported:
166166

167+
### <a name="output_location"></a> [location](#output\_location)
168+
169+
Description: The location of the resource group
170+
167171
### <a name="output_name"></a> [name](#output\_name)
168172

169173
Description: The name of the resource group

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ output "resource_id" {
1212
description = "The resource Id of the resource group"
1313
value = azurerm_resource_group.this.id
1414
}
15+
16+
output "location" {
17+
description = "The location of the resource group"
18+
value = azurerm_resource_group.this.location
19+
}

0 commit comments

Comments
 (0)