Fix variable parsing
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-02-02 13:08:27 +01:00
parent e5d4c577f8
commit ac7d827d4f

View File

@ -10,7 +10,7 @@ steps:
terraform init \ terraform init \
-chdir=terraform \ -chdir=terraform \
-input=false \ -input=false \
-backend-config="conn_str=${PG_CONNECTIONSTRING}" -backend-config="conn_str=$${PG_CONNECTIONSTRING}"
environment: environment:
PG_CONNECTIONSTRING: postgres://${PG_USERNAME}:${PG_PASSWORD}@${PG_HOST}/${PG_DATABASE}?sslmode=disable PG_CONNECTIONSTRING: postgres://${PG_USERNAME}:${PG_PASSWORD}@${PG_HOST}/${PG_DATABASE}?sslmode=disable
PG_HOST: tfstate.default.svc.cluster.local PG_HOST: tfstate.default.svc.cluster.local