8000 GitHub - sdolgin/terraform-subnet-test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sdolgin/terraform-subnet-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example to demonstrate reported issue with subnets not being created correctly.

  1. Clone this repo
  2. Run terraform init
  3. Run terraform apply -var-file="local.tfvars"
  4. Validate the number of subnets created for all 3 VNETs should equal 100:
(az network vnet subnet list --vnet-name vnet-dev-westeurope-001 -g rg-subnet-test | ConvertFrom-JSON).Count

(az network vnet subnet list --vnet-name vnet-dev-southeastasia-001 -g rg-subnet-test | ConvertFrom-JSON).Count

(az network vnet subnet list --vnet-name vnet-dev-eastus2-001 -g rg-subnet-test | ConvertFrom-JSON).Count

If the number of subnets is less than 100...

  1. Clean-up with terraform destroy -var-file="local.tfvars"
  2. Run terraform apply -var-file="local.tfvars" -parallelism=2
  3. Validate the number of subnets as described above

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0