Add env variable

This commit is contained in:
Kasper Juul Hermansen 2022-02-17 21:55:03 +01:00
parent f38510e205
commit ae683f788b
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -3,13 +3,14 @@ pipeline:
image: jmccann/drone-terraform image: jmccann/drone-terraform
plan: true plan: true
root_dir: infrastructure/create-resources root_dir: infrastructure/create-resources
environment:
HCLOUD_TOKEN:
from_secret: serverctl_hcloud_token
remote: remote:
config: config:
access_key: access_key:
from_secret: serverctl_access_key from_secret: serverctl_access_key
secret_key: secret_key:
from_secret: serverctl_secret_key from_secret: serverctl_secret_key
vars: secrets:
hcloud_token: hcloud_token: HCLOUD_TOKEN
from_secret: serverctl_hcloud_token