From e59d29cb5bcda88bfb760a94ac9bd0a6c056f980 Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Wed, 6 Sep 2017 10:28:25 -0500 Subject: [PATCH] Document additional way to pass secrets with Drone 0.5 --- DOCS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/DOCS.md b/DOCS.md index 8b024c1..adf12d8 100644 --- a/DOCS.md +++ b/DOCS.md @@ -49,11 +49,18 @@ pipeline: ```diff pipeline: - terraform: + terraform_1: image: jmccann/drone-terraform:1 plan: false + environment: + TF_VAR_MY_SECRET: ${TERRAFORM_SECRET} + + terraform_2: + image: jmccann/drone-terraform:1 + plan: false ++ sensitive: true ++ vars: ++ my_secret: ${TERRAFORM_SECRET} ``` You may be passing sensitive vars to your terraform commands. If you do not want