From 55169b49d1bc129631ae9dfce8409c5c3580f369 Mon Sep 17 00:00:00 2001 From: Archit Chopra Date: Thu, 15 Jun 2023 18:36:16 +0530 Subject: [PATCH] fix: Fixed readme.yaml --- README.yaml | 37 +++++++++---------------------------- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/README.yaml b/README.yaml index 7db9308..cfa611e 100644 --- a/README.yaml +++ b/README.yaml @@ -38,32 +38,13 @@ usage: |- Here is an example of how you can use this module in your inventory structure: ```hcl module "virtual-network" { - source = "clouddrove/vnet/azure" - name = "app" - environment = "test" - label_order = ["name", "environment"] - resource_group_name = module.resource_group.resource_group_name - location = module.resource_group.resource_group_location - address_space = "10.0.0.0/16" + source = "clouddrove/vnet/azure" + name = "app" + environment = "test" + label_order = ["name", "environment"] + resource_group_name = module.resource_group.resource_group_name + location = module.resource_group.resource_group_location + address_space = "10.0.0.0/16" + enable_network_watcher = false # To be set true when network security group flow logs are to be tracked and network watcher with specific name is to be deployed. } - ``` - ##vnet with flow log - ```hcl - module "virtual-network" { - source = "clouddrove/vnet/azure" - name = "app" - environment = "test" - label_order = ["name", "environment"] - resource_group_name = module.resource_group.resource_group_name - location = module.resource_group.resource_group_location - address_space = "10.0.0.0/16" - ## For enabling network flow logs for vnet. - enable_flow_logs = true - enable_network_watcher = true - enable_traffic_analytics = true - network_security_group_id = module.security_group.id - storage_account_id = module.storage.default_storage_account_id - workspace_id = module.log-analytics.workspace_customer_id - workspace_resource_id = module.log-analytics.workspace_id - } - ``` + ``` \ No newline at end of file