Skip to content

Commit

Permalink
fix: Fixed readme.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
13archit committed Jun 15, 2023
1 parent b784738 commit 55169b4
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```
```

0 comments on commit 55169b4

Please sign in to comment.