Azure / Azure/bicep-types-az

error with BICEP Deployment of Recovery services Vault

Open
#2,212 0 comments 0 reactions 0 assignees View on GitHub
Needs: Triage :mag:
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

Bicep CLI version 0.28.1

**Describe the bug**
When redeploying a Recovery Services Vault with Private Endpoint, This already exists with VM's using the Backup feature.
I am getting the error:

[{"code":"NameOfExistingPrivateEndpointNicCannotBeChanged","message":"Private Endpoint /subscriptions/xxxxx/resourceGroups/xxxx/providers/Microsoft.Network/privateEndpoints/xxxx-backup-rsv-pep contains existing NIC name xxx-backup-rsv-pep-nic which does not match request's custom network interface name . Updating the name of existing nic not allowed.","details":

however from other environments using the exact same code the NIC has a GUI at the end of the naming convention:

xxxy-backup-rsv-pep.nic.467cef69-ed43-4cbc-9d79-981a3984d293
this i can see is the only issue that i can see as the specific NIC is: [xxxx-backup-rsv-pep-nic]

**To Reproduce**
Running Pipeline and this still has the same problem.

**Additional context**
Add any other context about the problem here.

the Original RSV was deployed using the same Pipeline. Please can someone help me?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Bicep CLI 0.28.1 deployment pipeline and compare the existing Recovery Services Vault private endpoint and NIC with the redeployment request. Verify whether a custom NIC name is being requested and whether the existing NIC name can be preserved; done means redeployment succeeds without the NameOfExistingPrivateEndpointNicCannotBeChanged error. No file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.