From 13cf04b2b7ceb49d20c5e4bd2a5eb27042773f41 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 18 Aug 2016 22:35:30 -0400 Subject: [PATCH] providers/aws: fix error on bad session --- builtin/providers/aws/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/config.go b/builtin/providers/aws/config.go index f40d1c402..723493063 100644 --- a/builtin/providers/aws/config.go +++ b/builtin/providers/aws/config.go @@ -188,7 +188,7 @@ func (c *Config) Client() (interface{}, error) { // Set up base session sess, err := session.NewSession(awsConfig) if err != nil { - return nil, errwrap.Wrapf("Error creating AWS session: %s", err) + return nil, errwrap.Wrapf("Error creating AWS session: {{err}}", err) } sess.Handlers.Build.PushFrontNamed(addTerraformVersionToUserAgent)