[AVM Module Issue]: Issues when identity set to null #4480
Labels
Class: Resource Module 📦
This is a resource module
Needs: Triage 🔍
Maintainers need to triage still
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Type: Bug 🐛
Something isn't working
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/data-protection/backup-vault
(Optional) Module Version
No response
Description
Hi,
there is an interesting issue when the backup vault's identity is set to null. This can be achieved by not setting the managedIdentities parameter. After the initial deployment any update will cause an error "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'”. This can be reproduced also without AVM.
I opened a support case with MS and one possible fix would be to set the identity type to "none" (of course this is totally undocumented):
Could this also be implemented to the AVM module so by not setting the managedIdentities parameter the identity would be set to "type: 'None'" instead of null?
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: