mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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.
|
||||
color := "yellow"
|
||||
symbol := "~"
|
||||
if rdiff.RequiresNew() {
|
||||
if rdiff.RequiresNew() && rdiff.Destroy {
|
||||
color = "green"
|
||||
symbol = "-/+"
|
||||
} else if rdiff.RequiresNew() {
|
||||
color = "green"
|
||||
symbol = "+"
|
||||
} else if rdiff.Destroy {
|
||||
|
Loading…
Reference in New Issue
Block a user