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
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