Browse Source
Updated DOCS to have the new tf_data_dir param
pull/94/head
Caio Quirino
6 years ago
No known key found for this signature in database
GPG Key ID: 94564A4043FF99AC
2 changed files with
17 additions and
1 deletions
-
DOCS.md
-
main.go
|
@ -196,6 +196,19 @@ pipeline: |
|
|
+ check: true |
|
|
+ check: true |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
You may want to run some executions in parallel without having racing condition problems with the .terraform dir and |
|
|
|
|
|
plan's output file. |
|
|
|
|
|
|
|
|
|
|
|
```diff |
|
|
|
|
|
pipeline: |
|
|
|
|
|
backend-service: |
|
|
|
|
|
image: jmccann/drone-terraform:<version> |
|
|
|
|
|
+ tf_data_dir: .backend-service.terraform |
|
|
|
|
|
frontend-service: |
|
|
|
|
|
image: jmccann/drone-terraform:<version> |
|
|
|
|
|
+ tf_data_dir: .frontend-service.terraform |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
# Parameter Reference |
|
|
# Parameter Reference |
|
|
|
|
|
|
|
|
actions |
|
|
actions |
|
@ -253,3 +266,6 @@ root_dir |
|
|
|
|
|
|
|
|
parallelism |
|
|
parallelism |
|
|
: The number of concurrent operations as Terraform walks its graph. |
|
|
: The number of concurrent operations as Terraform walks its graph. |
|
|
|
|
|
|
|
|
|
|
|
tf_data_dir |
|
|
|
|
|
: changes the location where Terraform keeps its per-working-directory data, such as the current remote backend configuration. |
|
|
|
@ -110,7 +110,7 @@ func main() { |
|
|
}, |
|
|
}, |
|
|
cli.StringFlag{ |
|
|
cli.StringFlag{ |
|
|
Name: "tf_data_dir", |
|
|
Name: "tf_data_dir", |
|
|
Usage: "changes the location where Terraform keeps its per-working-directory data, such as the current remote backend configuration.", |
|
|
Usage: "changes the location where Terraform keeps its per-working-directory data, such as the current remote backend configuration", |
|
|
EnvVar: "PLUGIN_TF_DATA_DIR", |
|
|
EnvVar: "PLUGIN_TF_DATA_DIR", |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|