Remove redundant variable declaration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-02-02 14:04:50 +01:00
parent 60268b7f84
commit c3b4dceafc

View File

@ -37,17 +37,9 @@ steps:
commands: commands:
- | - |
terraform -chdir=terraform apply \ terraform -chdir=terraform apply \
-var="vsphere_password=$${VSPHERE_PASSWORD}" -var="repo_username=$${REPO_USERNAME}" -var="repo_password=$${REPO_PASSWORD}" \
-var-file='vsphere.tfvars' \
-input=false \ -input=false \
-auto-approve \ -auto-approve \
terraform.plan terraform.plan
environment: environment:
TF_AUTOMATION: yes TF_AUTOMATION: yes
VSPHERE_PASSWORD:
from_secret: vsphere_password
REPO_USERNAME:
from_secret: repo_username
REPO_PASSWORD:
from_secret: repo_password
# TF_LOG: TRACE # TF_LOG: TRACE