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

[Feature Request] Clustered virtual machine support #70

Open
ksandrmatveyev opened this issue Jun 22, 2021 · 0 comments
Open

[Feature Request] Clustered virtual machine support #70

ksandrmatveyev opened this issue Jun 22, 2021 · 0 comments

Comments

@ksandrmatveyev
Copy link

Hello,

It would be good to have a native possibility in the provider to assign Clustered Role to a VM:

# add a role for VM
Add-ClusterVirtualMachineRole -VMName $VMName -Cluster $ClusterName -ErrorAction Stop

# remove a role from VM
Stop-VM -Name  $VMName -ComputerName $HVHost -Force -ErrorAction Stop; Remove-ClusterGroup -Cluster $ClusterName -Name $VMName -RemoveResources -Force:$Force

I assume it should look like parameter block in the hv instance resource https://registry.terraform.io/providers/taliesins/hyperv/latest/docs/resources/hyperv_machine_instance or as a separate resource.

Regards,

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