Skip to content
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

Merged

Conversation

MCKLMT
Copy link
Contributor

@MCKLMT MCKLMT commented Dec 1, 2020

No description provided.

@codecov-io
Copy link

codecov-io commented Dec 1, 2020

Codecov Report

Merging #1053 (22f3da4) into main (b6e2f63) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1053   +/-   ##
=======================================
  Coverage   94.26%   94.26%           
=======================================
  Files         328      328           
  Lines       15811    15811           
  Branches       12       12           
=======================================
  Hits        14904    14904           
  Misses        907      907           
Flag Coverage Δ
dotnet 94.82% <ø> (ø)
typescript 25.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Collaborator

@alex-frankel alex-frankel left a 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)
Copy link
Collaborator

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)
Copy link
Collaborator

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

@alex-frankel
Copy link
Collaborator

tests failed - need to rerun bicep build

@alex-frankel alex-frankel merged commit 3682e37 into Azure:main Dec 1, 2020
@MCKLMT MCKLMT deleted the webapp-privateendpoint-vnet-injection branch December 1, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants