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:
parent
764bdbcac9
commit
324b1702a2
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue