Describe the bug
Current referenced load balancer frontend cannot be used due to existing nat rules. In addition, the subnet used for the pls resources has network policies enabled that prevent PLS being deployed
MAX:
Exception: /home/runner/work/_temp/79f2d82d-9e0e-468c-a8ad-5703ca8cd207.ps1:54
Line |
54 | throw $res.exception
| ~~~~~~~~~~~~~~~~~~~~
| 21:39:10 - The deployment
| 'privateLinkServices-20220826T2108029740Z' failed with
| error(s). Showing 1 out of 1 error(s). Status Message:
| Resource
| /subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Network/loadBalancers/adp-***-az-lb-internal-001/frontendIPConfigurations/privateIPConfig2 referenced by resource /subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Network/privateLinkServices/***-az-pls-001 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region. (Code: InvalidResourceReference) CorrelationId: 9713baf5-4439-40ae-8ecc-ab81772556b5
MIN:
Exception: /home/runner/work/_temp/1ea72246-eead-4fb5-ace9-482099b632dd.ps1:54
Line |
54 | throw $res.exception
| ~~~~~~~~~~~~~~~~~~~~
| 21:39:38 - The deployment
| 'privateLinkServices-20220826T2108338100Z' failed with
| error(s). Showing 1 out of 1 error(s). Status Message: Private
| link service
| /subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Network/privateLinkServices/***-az-pls-min-001 cannot be created in a subnet /subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-***-az-vnet-x-001/subnets/***-az-subnet-x-001 since it has private link service network policies enabled. (Code: PrivateLinkServiceCannotBeCreatedInSubnetThatHasNetworkPoliciesEnabled) CorrelationId: 48fb1b11-9b99-499a-9239-a2c86b1c5f0d
To reproduce
Run the Private Link Services Module
Code snippet
No response
Relevant log output
No response
Describe the bug
Current referenced load balancer frontend cannot be used due to existing nat rules. In addition, the subnet used for the pls resources has network policies enabled that prevent PLS being deployed
MAX:
MIN:
To reproduce
Run the Private Link Services Module
Code snippet
No response
Relevant log output
No response