Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 4.17 KB

File metadata and controls

46 lines (42 loc) · 4.17 KB

Inputs

Name Description Type Default Required
create Used when creating the Resource Group. string "30m" no
delete Used when deleting the Resource Group. string "30m" no
enable_diagnostic Set to false to prevent the module from creating the diagnosys setting for the NSG Resource.. bool false no
enable_flow_logs Flag to be set true when network security group flow logging feature is to be enabled. bool false no
enable_traffic_analytics Boolean flag to enable/disable traffic analytics. bool false no
enabled Set to false to prevent the module from creating any resources. bool true no
environment Environment (e.g. prod, dev, staging). string "" no
eventhub_authorization_rule_id Eventhub authorization rule id to pass it to destination details of diagnosys setting of NSG. string null no
eventhub_name Eventhub Name to pass it to destination details of diagnosys setting of NSG. string null no
extra_tags Variable to pass extra tags. map(string) null no
flow_log_retention_policy_days The number of days to retain flow log records. number 100 no
flow_log_retention_policy_enabled Boolean flag to enable/disable retention. bool false no
flow_log_storage_account_id The id of storage account in which flow logs will be received. Note: Currently, only standard-tier storage accounts are supported. string null no
flow_log_version The version (revision) of the flow log. Possible values are 1 and 2. number 1 no
inbound_rules List of objects that represent the configuration of each inbound rule. any [] no
label_order Label order, e.g. sequence of application name and environment name,environment,'attribute' [webserver,qa,devops,public,] . list(any)
[
"name",
"environment"
]
no
log_analytics_destination_type Possible values are AzureDiagnostics and Dedicated, default to AzureDiagnostics. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table. string "AzureDiagnostics" no
log_analytics_workspace_id log analytics workspace id to pass it to destination details of diagnosys setting of NSG. string null no
log_analytics_workspace_resource_id The resource ID of the attached log analytics workspace. string null no
logs List of log categories. Defaults to all available. list(map(string)) [] no
managedby ManagedBy, eg 'CloudDrove'. string "hello@clouddrove.com" no
name Name (e.g. app or cluster). string "" no
network_watcher_name The name of the Network Watcher. Changing this forces a new resource to be created. string null no
outbound_rules List of objects that represent the configuration of each outbound rule. any [] no
read Used when retrieving the Resource Group. string "5m" no
repository Terraform current module repo string "" no
resource_group_location The Location of the resource group where to create the network security group. string n/a yes
resource_group_name The name of the resource group in which to create the network security group. string n/a yes
subnet_ids The ID of the Subnet. Changing this forces a new resource to be created. list(string) [] no
update Used when updating the Resource Group. string "30m" no

Outputs

Name Description
id The network security group configuration ID.
name The name of the network security group.
network_watcher_name The name of the Network Watcher. Changing this forces a new resource to be created.
storage_account_id The ID of the Storage Account where flow logs are stored.
subnet_id The ID of the Subnet. Changing this forces a new resource to be created.
tags The tags assigned to the resource.