Draft: Locks for storage accounts
Infrastructure Submissions:
- [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
- [YES] I have updated the documentation accordingly.
- [YES] I have added tests to cover my changes.
- [YES] All new and existing tests passed.
- [YES] I have formatted the terraform code. (
terraform fmt -recursive && go fmt ./...
)
Current Behavior or Linked Issues
Adding locks to Storage accounts in SR and DP, which didn't have the locks already. This will prevent accidental deletes of the storage account and CosmosDB Accounts.
Does this introduce a breaking change?
- [YES/NO] No
Other information
Pending: need to check how to enforce locks on the SA and CosmosDbs that come up in the future.
Edited by Daniel Scholl