Specify path to default resourcepool
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2021-02-02 13:46:40 +01:00
parent 10fcd292a9
commit 0512a08013
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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
}