Colorize the 'forces new resource' message.

Sometimes in all the output from ```terraform plan```, it is difficult
to see the ```(forces new resource)``` message.
This patch adds a little bit of color.
This commit is contained in:
Sharif Nassar 2015-08-31 15:37:09 -07:00
parent 7d142134f2
commit 2e51915431
1 changed files with 1 additions and 1 deletions

View File

@ -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(