Skip to content

Commit

Permalink
Merge pull request #4 from clouddrove/internal-274-n
Browse files Browse the repository at this point in the history
subnet removed and changed source
  • Loading branch information
d4kverma authored Jan 6, 2023
2 parents 5131e78 + 9174bf3 commit 7e8197b
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module "resource_group" {

#Vnet
module "vnet" {
source = "clouddrove/virtual-network/azure"
version = "1.0.1"
source = "clouddrove/vnet/azure"
version = "1.0.0"

name = "app"
environment = "example"
Expand All @@ -26,18 +26,12 @@ module "vnet" {
location = module.resource_group.resource_group_location
address_space = "10.0.0.0/16"
enable_ddos_pp = false

#subnet
subnet_names = ["subnet1"]
subnet_prefixes = ["10.0.1.0/24"]
disable_bgp_route_propagation = false

}

#Vnet
module "vnet_remote" {
source = "clouddrove/virtual-network/azure"
version = "1.0.1"
source = "clouddrove/vnet/azure"
version = "1.0.0"

name = "remote"
environment = "example"
Expand All @@ -47,12 +41,6 @@ module "vnet_remote" {
location = module.resource_group.resource_group_location
address_space = "20.0.0.0/16"
enable_ddos_pp = false

#subnet
subnet_names = ["subnet1"]
subnet_prefixes = ["20.0.1.0/24"]
disable_bgp_route_propagation = false

}

module "vnet_peering" {
Expand Down

0 comments on commit 7e8197b

Please sign in to comment.