Add env variable

This commit is contained in:
2022-02-17 21:55:03 +01:00
parent f38510e205
commit ae683f788b

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