Marcus
Marcus
``` resource "azapi_resource" "protected_intent" { count = local.backup || local.production ? 1 : 0 type = "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2022-03-01" name = format("vm;iaasvmcontainerv2;%s;%s", data.azurerm_resource_group.virtualmachine.name, local.virtual_machine_name) location = var.location parent_id = format("%s%s", data.azurerm_recovery_services_vault.vault[0].id, "/backupFabrics/Azure")...
Trying to reference a resource that may or may not exist, expect null looked at response_export_values but this doesn't seem to help
Terraform 1.4.4 azapi 1.6.0 ``` resource "azapi_resource" "virtualmachine_rehosted" { count = local.create_rehosted_virtual_machine ? 1 : 0 type = "Microsoft.Compute/virtualMachines@2022-11-01" name = local.virtual_machine_name location = var.location parent_id = data.azurerm_resource_group.virtualmachine.id body =...
Using the following works to configure first time but if i change Vault the API seems all is ok yet the underlying service errors with : "Failure Details": "Virtual machine...
Unable to update recoveryCapacityReservationGroupId the vm is replicated and was created via azurerm_site_recovery_replicated_vm but i need to add capacity reservation, ```go resource "azapi_update_resource" "protected_capacity" { count = var.reserve_capacity == true...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Community Note * Please vote on this issue by adding a :thumbsup: [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Community Note * Please vote on this issue by adding a :thumbsup: [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)...