command/apply: clearer that in error state is updated
This commit is contained in:
parent
ba4435f99c
commit
f78f97647a
|
@ -122,7 +122,14 @@ func (c *ApplyCommand) Run(args []string) int {
|
||||||
}
|
}
|
||||||
|
|
||||||
if applyErr != nil {
|
if applyErr != nil {
|
||||||
c.Ui.Error(fmt.Sprintf("Error applying plan: %s", applyErr))
|
c.Ui.Error(fmt.Sprintf(
|
||||||
|
"Error applying plan:\n\n"+
|
||||||
|
"%s\n\n"+
|
||||||
|
"Terraform does not automatically rollback in the face of errors.\n"+
|
||||||
|
"Instead, your Terraform state file has been partially updated with\n"+
|
||||||
|
"any resources that successfully completed. Please address the error\n"+
|
||||||
|
"above and apply again to incrementally change your infrastructure.",
|
||||||
|
applyErr))
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue