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:
parent
7d142134f2
commit
2e51915431
|
@ -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