-
Notifications
You must be signed in to change notification settings - Fork 478
Description
Community Guidelines
- I have read and agree to the HashiCorp Community Guidelines .
- Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
- Do not leave "+1" or other comments that do not add relevant information or questions.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
The current plugin has a resource called vsphere_compute_cluster_vm_group, which creates vm groups and also controls the members. However, in some cases, we have to reuse some existent group, and just include a few more members without changing what is already present in the group.
This enhancement proposes a new resource that could be called "vsphere_compute_cluster_vm_group_add_member", which would receive the vsphere_compute_cluster_vm_group id, as well as the new member id, and it would include the new member in the vm group.
Use Case(s)
Reusing vm groups that are already present in vsphere and are not (or can not be) managed by terraform.
Potential Terraform Provider Configuration
resource "vsphere_compute_cluster_vm_group_add_member" "new_member" {
vm_group_id = "${vsphere_compute_cluster_vm_group.vm_group.id}"
virtual_machine_id = "${vsphere_virtual_machine.vm.id}"
}
References
No response