-
Notifications
You must be signed in to change notification settings - Fork 759
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
Add WebApps Private Endpoint and Vnet-Injection example #1053
Add WebApps Private Endpoint and Vnet-Injection example #1053
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1053 +/- ##
=======================================
Coverage 94.26% 94.26%
=======================================
Files 328 328
Lines 15811 15811
Branches 12 12
=======================================
Hits 14904 14904
Misses 907 907
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small tweaks to referencing subnets
location: location | ||
properties: { | ||
subnet: { | ||
id: resourceId('Microsoft.Network/virtualNetworks/subnets', virtualNetwork.name, subnet1Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since subnet1
is declared as a child resource, you should be able to do subnet1.id
resource webApp2NetworkConfig 'Microsoft.Web/sites/networkConfig@2020-06-01' = { | ||
name: '${webApp2.name}/VirtualNetwork' | ||
properties: { | ||
subnetResourceId: resourceId('Microsoft.Network/virtualNetworks/subnets', virtualNetwork.name, subnet2Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, should be able to do subnet2.id
tests failed - need to rerun |
No description provided.