0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-06-03 04:49:42 +02: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
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