This commit is contained in:
parent
e56b23c414
commit
8e67d24e08
@ -22,7 +22,8 @@ data "vsphere_datacenter" "dc" {
|
||||
}
|
||||
|
||||
data "vsphere_resource_pool" "pool" {
|
||||
name = "/${var.hv_datacenter}/host/${var.hv_host}/Resources"
|
||||
name = var.hv_resourcepool
|
||||
// name = "/${var.hv_datacenter}/host/${var.hv_host}/Resources"
|
||||
datacenter_id = data.vsphere_datacenter.dc.id
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,7 @@ variable "hv_datacenter" {}
|
||||
variable "hv_host" {}
|
||||
variable "hv_hostip" {}
|
||||
|
||||
variable "hv_resourcepool" {}
|
||||
variable "hv_datastore" {}
|
||||
variable "hv_vmfolder" {}
|
||||
variable "hv_network" {}
|
||||
|
@ -1,6 +1,7 @@
|
||||
hv_fqdn = "bv11-vc.bessems.lan"
|
||||
hv_username = "administrator@vsphere.local"
|
||||
hv_datacenter = "DeSchakel"
|
||||
hv_resourcepool = "Terraform"
|
||||
hv_host = "bv11-esx.bessems.lan"
|
||||
hv_hostip = "192.168.11.200"
|
||||
hv_datastore = "Datastore05.NAS"
|
||||
|
Loading…
Reference in New Issue
Block a user