Add an example to module docs: terraform taint

While the taint docs make mention of this capabilities, it isn't clear what to do.
This commit is contained in:
ketzacoatl 2015-04-28 15:20:13 -04:00
parent 764bdbcac9
commit 324b1702a2
1 changed files with 12 additions and 0 deletions

View File

@ -104,3 +104,15 @@ But if we set `-module-depth=-1`, the graph will look like this:
Other commands work similarly with modules. Note that the `-module-depth`
flag is purely a formatting flag; it doesn't affect what modules are created
or not.
## Tainting resources within a module
The [taint command](/docs/commands/taint.html) can be used to _taint_
specific resources within a module:
```
terraform taint -module=salt_master aws_instance.salt_master
```
It is not (yet) possible to taint an entire module.