Closed kmosti closed 5 months ago
[!IMPORTANT] The "Needs: Triage :mag:" label must be removed once the triage process is complete!
[!TIP] For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.
[!NOTE] This label was added as per ITA06.
@kmosti, thanks for submitting this issue for the avm/res/network/virtual-network
module!
A member of the @azure/avm-res-network-virtualnetwork-module-owners-bicep or @azure/avm-res-network-virtualnetwork-module-contributors-bicep team will review it soon!
[!NOTE] The "Type: Bug :bug:" label was added as per ITA21.
Hi @kmosti , thank you for reporting the bug. We will review it and come back as soon as possible. Thanks
@kmosti Not sure if this was a change in the last version but the nsg reference is now called networkSecurityGroupResourceId not networkSecurityGroupId
Thanks for the callout @rodney-almeida, I also just checked. It's like he says, the parameter of the module is called networkSecurityGroupResourceId
. Unfortunately, the corresponding User-defined-type is not yet implemented which is why Linter did not warn you. Please double-check on your end and close the issue if it works for you :)
cc: @elbatane
Hi @kmosti, as @rodney-almeida mentioned and @AlexanderSehr confirmed, the parameter is called networkSecurityGroupResourceId
instead of networkSecurityGroupId
, which was the parameter name you were using. Please confirm on your end to close the issue. Thank you very much.
I can confirm, thank you very much for your help
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/network/virtual-network
(Optional) Module Name if not listed above
No response
(Optional) Module Version
0.1.5
Description
When applying the following modules, the subnet is NOT updated with the nsg ID:
When I apply the same resources this way (without using avm), the subnet IS updated with the correct NSG id:
There are no errors or failures in my deployment logs, the subnet is just not updated with the specified network security group.
(Optional) Correlation Id
No response