How to create more subnets w/ nextAvailableSubnet API? #213
Unanswered
pschonfeld
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a use case where I must create multiple subnets in the same vNet. I wrote a script that uses the API and nextAvailableSubnet tool to grab the address range for each subnet, but I ran into an issue. When the first subnet is created, I start a new iteration to create another one, but because of the delay/caching or whatever, I receive the same address range that I already used for the previous subnet.
I tried two methods to find out what's going on:
Would you happen to have any ideas on how to solve this issue in a way that's a good way?
This function is a lifesaver for us, but I need to figure out how to solve this, and I don't know if I'm missing something.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions