-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
25 lines (20 loc) · 894 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
output "id" {
value = try(azurerm_network_security_group.nsg[0].id, null)
description = "The network security group configuration ID."
}
output "name" {
value = try(azurerm_network_security_group.nsg[0].name, null)
description = "The name of the network security group."
}
output "tags" {
value = module.labels.tags
description = "The tags assigned to the resource."
}
output "network_watcher_name" {
value = var.enabled && var.enable_flow_logs ? azurerm_network_watcher_flow_log.nsg_flow_logs[0].name : null
description = "The name of the Network Watcher. Changing this forces a new resource to be created."
}
output "storage_account_id" {
value = var.enabled && var.enable_flow_logs ? azurerm_network_watcher_flow_log.nsg_flow_logs[0].storage_account_id : null
description = "The ID of the Storage Account where flow logs are stored."
}