Specify path to default resourcepool
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
10fcd292a9
commit
0512a08013
@ -17,7 +17,6 @@ steps:
|
||||
- name: Terraform Plan
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
commands:
|
||||
- set -x
|
||||
- |
|
||||
terraform -chdir=terraform plan \
|
||||
-var="vsphere_password=$${VSPHERE_PASSWORD}" -var="repo_username=$${REPO_USERNAME}" -var="repo_password=$${REPO_PASSWORD}" \
|
||||
@ -32,7 +31,7 @@ steps:
|
||||
from_secret: repo_username
|
||||
REPO_PASSWORD:
|
||||
from_secret: repo_password
|
||||
TF_LOG: TRACE
|
||||
# TF_LOG: TRACE
|
||||
- name: Terraform Apply
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
commands:
|
||||
|
@ -22,7 +22,7 @@ data "vsphere_datacenter" "dc" {
|
||||
}
|
||||
|
||||
data "vsphere_resource_pool" "pool" {
|
||||
name = "/${var.vsphere_datacenter}/host/${var.vsphere_hostip}/Resources"
|
||||
name = "${var.vsphere_host}"
|
||||
datacenter_id = data.vsphere_datacenter.dc.id
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user