From 25312c8985d872231eb8932f34070b3277f4cd2d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 16 Mar 2017 14:34:59 -0700 Subject: [PATCH] command/push: update copy for remote state error --- command/push.go | 10 +++++----- command/push_test.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/command/push.go b/command/push.go index 7dc1567f9..3a4c2060e 100644 --- a/command/push.go +++ b/command/push.go @@ -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 } diff --git a/command/push_test.go b/command/push_test.go index 88c169ade..4afeba3b3 100644 --- a/command/push_test.go +++ b/command/push_test.go @@ -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) } }