Closed IgorOrmus closed 1 year ago
Facing the same issue with the new provider version. Fixing it to a previous version helps as a workaround.
Thanks for reporting! This is already tracked by #21663, please subscribe to it for update.
@IgorOrmus Thank you for opening this issue. This issue seems to have effected many and there is a duplicate issue that @myc2h6o linked to here: https://github.com/hashicorp/terraform-provider-azurerm/issues/21663 I am going to go ahead and close this issue, please follow #21663 for an update.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
Terraform v1.4.6
AzureRM Provider Version
v3.55.0
Affected Resource(s)/Data Source(s)
azurerm_backup_protected_vm
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The error comes up in plan with both GRS and LRS RSV code with cross region restore disabled . Error was introduced in the latest version of provider pinning version to 3.54.0 resolves the issue suspect issue is with new API https://github.com/hashicorp/terraform-provider-azurerm/pull/21575
Actual Behaviour
Panic output during plan stage as detailed above
Steps to Reproduce
terraform plan
Important Factoids
n/a
References
Suspect issue with latest enhancement recoveryservicesbackup - updating to use API Version 2023-02-01 (https://github.com/hashicorp/terraform-provider-azurerm/issues/21575)