From 8df9ec11bde4f304452774a3c4df03190df4b50b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 17 Feb 2022 22:05:42 +0100 Subject: [PATCH] Add secrets --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 03454fa..0d21be1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,6 @@ steps: - mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/ - terraform -v - cd infrastructure/create-resources - - terraform init + - terraform init -backend-config="access_key=$ACCESS_KEY" -backend-config="secret_key=$SECRET_KEY" - terraform validate - - terraform plan + - terraform plan -vars="hcloud_token=$HCLOUD_TOKEN"