Skip to content

Commit 72d632b

Browse files
authored
fix: added new output
1 parent 89a9e61 commit 72d632b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ output "nsg_association_id" {
1717
value = var.nsg_id == "" ? "" : azurerm_subnet_network_security_group_association.this[0].id
1818
description = "The ID of the Network Security Group Association"
1919
}
20+
21+
output "name_to_id_map" {
22+
value = { (azurerm_subnet.this.name) = azurerm_subnet.this.id }
23+
description = "Map of Subnet Name to Id"
24+
}

0 commit comments

Comments
 (0)