From ae683f788b1e15a4e42884fb36b74207617ea18f Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 17 Feb 2022 21:55:03 +0100 Subject: [PATCH] Add env variable --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4689f1a..67061ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,13 +3,14 @@ pipeline: image: jmccann/drone-terraform plan: true root_dir: infrastructure/create-resources + environment: + HCLOUD_TOKEN: + from_secret: serverctl_hcloud_token remote: config: access_key: from_secret: serverctl_access_key secret_key: from_secret: serverctl_secret_key - vars: - hcloud_token: - from_secret: serverctl_hcloud_token - + secrets: + hcloud_token: HCLOUD_TOKEN