We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a9e61 commit 72d632bCopy full SHA for 72d632b
outputs.tf
@@ -17,3 +17,8 @@ output "nsg_association_id" {
17
value = var.nsg_id == "" ? "" : azurerm_subnet_network_security_group_association.this[0].id
18
description = "The ID of the Network Security Group Association"
19
}
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