outputs.tf (12 lines of code) (raw):
output "name" {
description = "The name of the Network Security Group resource"
value = azurerm_network_security_group.this.name
}
output "resource" {
description = "The Network Security Group resource"
value = azurerm_network_security_group.this
}
output "resource_id" {
description = "The id of the Network Security Group resource"
value = azurerm_network_security_group.this.id
}