Skip to content

Feature Request: Resource locks #187

Answered by AnalyticJeremy
bricrsa asked this question in Q&A
Discussion options

You must be logged in to vote

Preventing customers from accidentally deleting their storage accounts is a very good idea, and placing a cannot-delete lock on the storage accounts seems like a logical way to achieve this. However, these locks have unexpected effects that make it very difficult to use them.

Description of Issue

A cannot-delete lock does, in fact, prevent a storage account from being deleted. But it also prevents the deletion of the storage account's child ARM resources. These include:

  • RBAC Assignments: If a storage account has a cannot-delete lock, you can still add RBAC assignments to the account. However, you can't remove assignments. This makes it very difficult to properly manage permissions on you…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@marvinbuss
Comment options

Answer selected by marvinbuss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested feature Feature Requests
3 participants
Converted from issue

This discussion was converted from issue #137 on September 27, 2021 13:56.