Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for zone-redundant site recovery replication recovery plans #21584

Closed
1 task done
viewegchris opened this issue Apr 27, 2023 · 3 comments · Fixed by #21666
Closed
1 task done

Support for zone-redundant site recovery replication recovery plans #21584

viewegchris opened this issue Apr 27, 2023 · 3 comments · Fixed by #21666

Comments

@viewegchris
Copy link

viewegchris commented Apr 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The current version of azurerm_site_recovery_replication_recovery_plan does not support the creation of recovery plans for VMs protected by Availability Zone to Availability Zone replication.

The last versions of ARM Template provide therefore the property providerSpecificInput:

"providerSpecificInput" : [
    {
      "instanceType" : "A2A",
      "primaryZone" : "1",
      "recoveryZone" : "2"
    }
  ] 

https://learn.microsoft.com/en-us/azure/templates/microsoft.recoveryservices/2022-10-01/vaults/replicationrecoveryplans?pivots=deployment-language-arm-template#recoveryplana2ainput-1

Please add support for this property. Currently it's just possible to add recovery plans for zone zo zone replication via azurerm_template_deployment without the possibility to update the plan later, without destoning it first.

New or Affected Resource(s)/Data Source(s)

azurerm_site_recovery_replication_recovery_plan

Potential Terraform Configuration

resource "azurerm_site_recovery_replication_recovery_plan" "example" {
  name                      = "example-recover-plan"
  recovery_vault_id         = azurerm_recovery_services_vault.target.id
  source_recovery_fabric_id = azurerm_site_recovery_fabric.source.id
  target_recovery_fabric_id = azurerm_site_recovery_fabric.target.id

  instanceTyp" : "A2A"
  primaryZone :  1
  recoveryZone : 2
  
  recovery_group {
    type                       = "Boot"
    replicated_protected_items = [azurerm_site_recovery_replicated_vm.test.id]
  }
}

References

No response

@ziyeqf
Copy link
Contributor

ziyeqf commented May 5, 2023

Hi @viewegchris, thanks for opening this issue.

Have opened a PR (#21666) to support this, once it merged & released, the feature will be available.

For any further question please leave comments.
Thanks!

@github-actions
Copy link

This functionality has been released in v3.58.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants