outputs.tf (12 lines of code) (raw):
output "name" {
description = "The name of the resource group"
value = azurerm_resource_group.this.name
}
output "resource" {
description = "This is the full output for the resource group."
value = azurerm_resource_group.this
}
output "resource_id" {
description = "The resource Id of the resource group"
value = azurerm_resource_group.this.id
}