Merge #3136: Colorize the 'forces new resource' message
This commit is contained in:
commit
e4e9c13c20
|
@ -1,5 +1,9 @@
|
|||
## 0.6.6 (Unreleased)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
||||
* "forces new resource" now highlighted in plan output [GH-3136]
|
||||
|
||||
## 0.6.5 (October 21, 2015)
|
||||
|
||||
FEATURES:
|
||||
|
|
|
@ -131,7 +131,7 @@ func formatPlanModuleExpand(
|
|||
|
||||
newResource := ""
|
||||
if attrDiff.RequiresNew && rdiff.Destroy {
|
||||
newResource = " (forces new resource)"
|
||||
newResource = opts.Color.Color(" [red](forces new resource)")
|
||||
}
|
||||
|
||||
buf.WriteString(fmt.Sprintf(
|
||||
|
|
Loading…
Reference in New Issue