Browse Source

Update docs

pull/32/head
Greyson Dehn 8 years ago
parent
commit
f8a287c6c1
  1. 30
      DOCS.md

30
DOCS.md

@ -187,3 +187,33 @@ pipeline:
app_version: 1.0.0
parallelism: 2
```
## Submodule Overrides
You may want to override particular configuration values in submodules.
For example, this configuration:
```yaml
pipeline:
terraform:
image: jmccann/drone-terraform:0.5
plan: false
submodules:
the-first:
source: some:neat://path
a-key: key
the-second:
do-the-thing: true
parallelism: 2
```
will add a file named `<random hex>_override.tf` containing:
```hcl-terraform
module "the-first" {
source = "some:neat://path"
a-key = "key"
}
module "the-second" {
do-the-thing = true
}
```
Loading…
Cancel
Save