0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-24 13:20:39 +00:00

Document additional way to pass secrets with Drone 0.5

This commit is contained in:
Jacob McCann 2017-09-06 10:28:25 -05:00
parent 00912b6d75
commit e59d29cb5b

View File

@ -49,11 +49,18 @@ pipeline:
```diff ```diff
pipeline: pipeline:
terraform: terraform_1:
image: jmccann/drone-terraform:1 image: jmccann/drone-terraform:1
plan: false plan: false
+ environment: + environment:
+ TF_VAR_MY_SECRET: ${TERRAFORM_SECRET} + 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 You may be passing sensitive vars to your terraform commands. If you do not want