- 21, Oct 2024
- #1
terraform v1.0.x (если это имеет значение), ESXi v6.0
Я пишу свой первый план Terraform, используя
name
provider` that creates a VM from a template in our VCenter environment. The resource of course looks like this
data "vsphere_resource_pool" "pool" {
name = ??? ######## what to put here?
datacenter_id = data.vsphere_datacenter.dc.id
}
resource "vsphere_virtual_machine" "vm" {
name = var.vm_name
resource_pool_id = data.vsphere_resource_pool.pool.id
datastore_id = data.vsphere_datastore.datastore.id
...
}
Однако я не знаю, что поставить на vsphere
key for the resource pool. Is there a way to find out what our VCenter's resource pools are from the GUI?
#vmware