command: plan that requires destroy and new is "-/+"
This commit is contained in:
parent
da539caf0a
commit
2094326c10
|
@ -42,7 +42,10 @@ func FormatPlan(p *terraform.Plan, c *colorstring.Colorize) string {
|
||||||
// resource header.
|
// resource header.
|
||||||
color := "yellow"
|
color := "yellow"
|
||||||
symbol := "~"
|
symbol := "~"
|
||||||
if rdiff.RequiresNew() {
|
if rdiff.RequiresNew() && rdiff.Destroy {
|
||||||
|
color = "green"
|
||||||
|
symbol = "-/+"
|
||||||
|
} else if rdiff.RequiresNew() {
|
||||||
color = "green"
|
color = "green"
|
||||||
symbol = "+"
|
symbol = "+"
|
||||||
} else if rdiff.Destroy {
|
} else if rdiff.Destroy {
|
||||||
|
|
Loading…
Reference in New Issue