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 a public IP address reference on a site recovery replicated VM #8837

Open
MitchDrage opened this issue Oct 11, 2020 · 0 comments

Comments

@MitchDrage
Copy link
Contributor

MitchDrage commented Oct 11, 2020

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

I'd like the ability to reference a test and target Public IP resource for a replicated VM.

New or Affected Resource(s)

  • azurerm_site_recovery_replicated_vm

Potential Terraform Configuration

resource "azurerm_site_recovery_replicated_vm" "replicatedVM" {
  name                                      = "replicatedVM"
  <...>

  network_interface = [
    {
      source_network_interface_id           = azurerm_network_interface.replicatedVM-interface.id
      target_subnet_name                        = "my-subnet"
      public_ip_address_id                         = azurerm_public_ip.my-public-ip.id
    }
  ]

  managed_disk {
    <...>
  }
}

References

https://docs.microsoft.com/en-us/rest/api/site-recovery/replicationprotecteditems/create

I expect it would require changes similar to PR:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants