command/push: update copy for remote state error

This commit is contained in:
Mitchell Hashimoto 2017-03-16 14:34:59 -07:00
parent 38e84f1a78
commit 25312c8985
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 6 additions and 6 deletions

View File

@ -110,11 +110,11 @@ func (c *PushCommand) Run(args []string) int {
// We require a non-local backend
if c.IsLocalBackend(b) {
c.Ui.Error(
"Remote state is not enabled. For Atlas to run Terraform\n" +
"for you, remote state must be used and configured. Remote\n" +
"state via any backend is accepted, not just Atlas. To\n" +
"configure remote state, use the `terraform remote config`\n" +
"command.")
"A remote backend is not enabled. For Atlas to run Terraform\n" +
"for you, remote state must be used and configured. Remote \n" +
"state via any backend is accepted, not just Atlas. To configure\n" +
"a backend, please see the documentation at the URL below:\n\n" +
"https://www.terraform.io/docs/state/remote.html")
return 1
}

View File

@ -774,7 +774,7 @@ func TestPush_noRemoteState(t *testing.T) {
}
errStr := ui.ErrorWriter.String()
if !strings.Contains(errStr, "Remote state") {
if !strings.Contains(errStr, "remote backend") {
t.Fatalf("bad: %s", errStr)
}
}