Azure / Azure/bicep-registry-modules

[AVM Module Issue]: Redeployment raises error CannotChangePrivateLinkConnectionOnPrivateEndpoint

Open
#7,285 1 comment 0 reactions 1 assignee Claimed by @jtracey93 View on GitHub
Class: Pattern Module :package: Needs: Triage :mag: Type: AVM :a: :v: :m:
Dominant language
Bicep
Stars
736
Forks
564
Avg merge
3d 15h
Merged PRs (30d)
30

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Bug

### Module Name

avm/ptn/lz/sub-vending

### (Optional) Module Version

0.8.0

### Description

On redeploying a bicep template that contains the sub-vending module (0.8.0), I get the following error:

Error: Code=**CannotChangePrivateLinkConnectionOnPrivateEndpoint**; Message=Cannot change the private link connection on private endpoint /subscriptions//resourceGroups//providers/Microsoft.Network/privateEndpoints/**ds-file-pe**. Please ensure you are not updating the details of existing private link connection: '/subscriptions//resourceGroups//providers/Microsoft.Network/privateEndpoints/ds-file-pe/privateLinkServiceConnections/stgdsm6zwirx2zq-file-0'. That is not allowed.

The resource doesn't appear to be anything I've been able to set directly and looking at the module it is a resource that is deployed as part of setting up a storage account.

I know there was this issue (https://github.com/Azure/bicep-registry-modules/issues/1513), but this was a while ago and is now closed, so not sure if this has any bearing on the issue at hand.

### (Optional) Correlation Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.