Azure / Azure/Synapse-workspace-deployment

DeleteArtifactsNotInTemplate also deletes Managed Private Endpoints

Open
#93 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
29
Forks
50
PR merge metrics
No merged PRs in 30d

Description

DeleteArtifactsNotInTemplate: 'true' also deletes Managed Private Endpoints which are never in the template as each workspace has a unique set. Each Managed Private Endpoint then needs to be recreated manually and approved.

Additionally, if DeleteArtifactsNotInTemplate runs on a Managed Private Endpoint in Resource Group with Delete Lock on the RG, the Managed Private Endpoints do not get deleted but change provisioning status to "Failed" instead. The result is such that testing Linked Service connection that uses such endpoint succeeds, but authorization fails.

Please provide an option to specify which Artifact types are to be included or excluded from the DeleteArtifactsNotInTemplate toggle, or better yet, exclude any such Artifact types which are never included in the template.

This is last tested using Azure/Synapse-workspace-deployment@V1.7.0 on 23/09/2023

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.