Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(management-locks): adding prototype for management locks module #2004

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arne21a
Copy link
Contributor

@arne21a arne21a commented Jun 10, 2024

1995

PR Checklist


Description

This is a prototype for the resource lock module. I struggled to find a way to implement it as an independent resource, as it could apply to any kind of resource.
I would love to hear your feedback on this approach.

Does this introduce a breaking change

  • YES
  • NO

Testing

azurerm_management_locks = {

  lock_2 = {
    name = "lock2"
    resource_type = "storage_accounts"
    resource_key = "testing_sa"
    #resource_lz_key = ""
    #resource_id = ""
    lock_level = "CanNotDelete" #ReadOnly
    notes = "room for notes"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant