-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AVM Module Issue]: avm/ptn/lz/sub-vending: Re-running fails trying to add another VNet peering #3386
Comments
@cspring86, thanks for submitting this issue for the Important A member of the @Azure/avm-ptn-lz-subvending-module-owners-bicep or @Azure/avm-ptn-lz-subvending-module-contributors-bicep team will review it soon! |
We will try to repro and revert back asap |
Hey @cspring86, Thanks for the issue and thanks @sebassem for investigating. I think the issue here is more a Is that correct @cspring86, that this peering was initially created outside of this sub vending module call, and now you have added it by supplying inputs to If so, then the fix would be to:
This will then allow this module to work in more "brownfield" style deployments as they can specify the peering name to avoid this conflict style error. |
Hi @jtracey93 No, it was created through the sub vending module. The peering name is the same in Azure as the module is trying to create when running again. Hope this helps! |
I'm seeing the same issue. I used the sub-vending module to create a new subscription with a peering to the hub network. |
@cspring86 @jtracey93 I think there is a bug in the latest |
@cspring86 & @hectorm-bmg are you getting the error of Just to confirm what @sebassem sees? As i see we may have slightly different errors and want to ensure we triple check 👍 |
@jtracey93 I get an error in the Both the local and remote vnet peering deployments fail: The error messages are:
|
I tried running the sub-vending module again today ( without deleting the peering on the hub network ). I did not get the error this time. |
@cspring86 Can you try another deployment after bumping the patch version. The problem with the virtual network module should have been fixed |
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/ptn/lz/sub-vending
(Optional) Module Version
0.1.5
Description
Following on from #3330
I updated to 0.1.5 and re-ran the pipeline.
The good news is that the subnet deletion problem looks to be fixed, thanks!
The bad news is that there's another issue.
It's trying to add another vnet peering even though one already exists because I'm running against an existing subscription.
Error:
Let me know if you need any more details.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: