You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_network_watcher_flow_log" {
source="./modules/azurerm/r/azurerm_network_watcher_flow_log"# enabled - (required) is a type of boolenabled=null# network_security_group_id - (required) is a type of stringnetwork_security_group_id=null# network_watcher_name - (required) is a type of stringnetwork_watcher_name=null# resource_group_name - (required) is a type of stringresource_group_name=null# storage_account_id - (required) is a type of stringstorage_account_id=null# version - (optional) is a type of numberversion=nullretention_policy=[{
days =null
enabled =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
traffic_analytics=[{
enabled =null
interval_in_minutes =null
workspace_id =null
workspace_region =null
workspace_resource_id =null
}]
}
resource"azurerm_network_watcher_flow_log""this" {
# enabled - (required) is a type of boolenabled=var.enabled# network_security_group_id - (required) is a type of stringnetwork_security_group_id=var.network_security_group_id# network_watcher_name - (required) is a type of stringnetwork_watcher_name=var.network_watcher_name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# storage_account_id - (required) is a type of stringstorage_account_id=var.storage_account_id# version - (optional) is a type of numberversion=var.versiondynamic"retention_policy" {
for_each=var.retention_policycontent {
# days - (required) is a type of numberdays=retention_policy.value["days"]
# enabled - (required) is a type of boolenabled=retention_policy.value["enabled"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
dynamic"traffic_analytics" {
for_each=var.traffic_analyticscontent {
# enabled - (required) is a type of boolenabled=traffic_analytics.value["enabled"]
# interval_in_minutes - (optional) is a type of numberinterval_in_minutes=traffic_analytics.value["interval_in_minutes"]
# workspace_id - (required) is a type of stringworkspace_id=traffic_analytics.value["workspace_id"]
# workspace_region - (required) is a type of stringworkspace_region=traffic_analytics.value["workspace_region"]
# workspace_resource_id - (required) is a type of stringworkspace_resource_id=traffic_analytics.value["workspace_resource_id"]
}
}
}