Output resource_group_id in Azure (#577)

* Add an output variable `resource_group_id` to the azure module
This commit is contained in:
Konstantinos Koukopoulos 2019-10-31 10:05:04 +02:00 committed by Dalton Hubble
parent d4573092b5
commit 38957163cb
1 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,10 @@ output "resource_group_name" {
value = azurerm_resource_group.cluster.name value = azurerm_resource_group.cluster.name
} }
output "resource_group_id" {
value = azurerm_resource_group.cluster.id
}
output "subnet_id" { output "subnet_id" {
value = azurerm_subnet.worker.id value = azurerm_subnet.worker.id
} }
@ -53,4 +57,3 @@ output "backend_address_pool_id" {
description = "ID of the worker backend address pool" description = "ID of the worker backend address pool"
value = azurerm_lb_backend_address_pool.worker.id value = azurerm_lb_backend_address_pool.worker.id
} }