Enable TF tracelog
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-02-02 13:17:55 +01:00
parent 2382f88c3a
commit ae13c383e4

View File

@ -7,15 +7,15 @@ steps:
image: bv11-cr01.bessems.eu/library/packer-extended image: bv11-cr01.bessems.eu/library/packer-extended
commands: commands:
- set -x - set -x
- chdir terraform
- | - |
terraform init \ terraform init \
-chdir=terraform \
-input=false \ -input=false \
-backend-config="conn_str=$${PG_CONNECTIONSTRING}" -backend-config="conn_str=$${PG_CONNECTIONSTRING}"
environment: environment:
PG_CONNECTIONSTRING: postgres://terraform:terraform@tfstate.default.svc.cluster.local/terraform_backend?sslmode=disable PG_CONNECTIONSTRING: postgres://terraform:terraform@tfstate.default.svc.cluster.local/terraform_backend?sslmode=disable
TF_AUTOMATION: yes TF_AUTOMATION: yes
# TF_LOG: TRACE TF_LOG: TRACE
- name: Terraform Plan - name: Terraform Plan
image: bv11-cr01.bessems.eu/library/packer-extended image: bv11-cr01.bessems.eu/library/packer-extended
commands: commands: