Replies: 2 comments 1 reply
-
|
Hey @fajterini, thanks for starting a discussion around this! Couple of items to help me answer this as well as I can....
Tagging @hbendana on this for visibility/input. |
Beta Was this translation helpful? Give feedback.
-
|
Hi All, I have the same issue as described. When creating the virtual network initially using bicep and Azure IPAM a reservation is made and consumed by the virtual network. So as expected. However if we rerun the deployment after that hour a new reservation is created but the code stops because it cannot be consumed by the (existing) virtual network and bicep throws an error. Now a quick fix would be extending the deploymentScript retentionInterval property but that would leave an otherwise unused/sporadically used resource. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Can someone help me how to use this IPAM solution with landingzone deployment pipeline.
Just thinking loud before implementation :(
1.) Create new Vnet:
i will request vnet address space with API call to /api/spaces/$space/blocks/$block/reservations
I will receive response with IP range (cidr), (status : wait ) and tag : X-IPAM-RES-ID=hqXyBYkH6MH55X8cF4AV3p
then I create new Vnet with tag from this response.
This is working :)
2.) Rerun pipeline, same settings /24
how to verify vnet is created with correct settings ? I will need verify setting in IPAM with this API call
$requestUrlvNet = "https://$appName.azurewebsites.net/api/spaces/$space/blocks/$block/networks? Expand=true"
and compare this to current status in azure. If network is already created skip vnet creation ?
Permission needed ?
For reservations any valid user in tenant can create reservations ?
For get Vnet probably higher rights on Azure or IPAM are needed ? but If I would have enough rights on subscription this should work ?
Beta Was this translation helpful? Give feedback.
All reactions