Open louisleesap opened 1 month ago
Hi @louisleesap thanks for opening this issue. I would like to confirm whether this issue expects the property source_vm_id
to support setting multiple vm ids? If so, I assume that this is not in line with the design principles of Terraform. Terraform relies on the Azure Rest API to implement CRUD management of Azure resources. In Azure Rest API, the virtualMachineId corresponding to source_vm_id
only support the setting of a single vm id.
Regarding the ResourceRequestsThrottled
issue, I'm assuming this is a Terraform usage issue. Given that this forum is intended to be used for feature enhancements and bugs in the Azure Provider . So that we can keep this forum focused on that we instead ask that questions are raised using one of the Community Resources.
Thanks!
Is there an existing issue for this?
Community Note
Description
Currently the
azurerm_backup_protected_vm
module processes eachvm_id
separately requiring a for loop to be used when creating backups for multiple Virtual Machines. This generates a large number of API requests. In some environments this may triggerResourceRequestsThrottled
errors where the limit is exceeded.See Error message below:
New or Affected Resource(s)/Data Source(s)
azurerm_backup_protected_vm
Potential Terraform Configuration
References
No response