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:
parent
00912b6d75
commit
e59d29cb5b
9
DOCS.md
9
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
|
||||
|
Loading…
Reference in New Issue
Block a user